We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02b693 commit bf7ed38Copy full SHA for bf7ed38
1 file changed
src/raven.js
@@ -499,10 +499,11 @@ Raven.prototype = {
499
500
/**** Private functions ****/
501
_ignoreNextOnError: function () {
502
+ var self = this;
503
this._ignoreOnError += 1;
504
setTimeout(function () {
505
// onerror should trigger before setTimeout
- this._ignoreOnError -= 1;
506
+ self._ignoreOnError -= 1;
507
});
508
},
509
0 commit comments