Skip to content

Commit

Permalink
Deprecate ignoreErrors, see #73
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Feb 15, 2013
1 parent e290e1a commit 5f64d4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/raven.js
Expand Up @@ -51,6 +51,10 @@ var Raven = {
lastSlash = uri.path.lastIndexOf('/'),
path = uri.path.substr(1, lastSlash);

if (options.ignoreErrors && window.console && console.warn) {
console.warn('DeprecationWarning: `ignoreErrors` is going to be removed soon.');
}

// merge in options
if (options) {
each(options, function(key, value){
Expand Down

0 comments on commit 5f64d4a

Please sign in to comment.