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 62403b7 commit a847aebCopy full SHA for a847aeb
src/raven.js
@@ -1079,8 +1079,14 @@ Raven.prototype = {
1079
},
1080
1081
_logDebug: function(level) {
1082
+ var args = [].slice.call(arguments, 1);
1083
if (this._originalConsoleMethods[level] && this.debug) {
- this._originalConsoleMethods[level].apply(this._originalConsole, [].slice.call(arguments, 1));
1084
+ try {
1085
+ // For IE<10, cannot invoke 'apply' on console methods
1086
+ this._originalConsoleMethods[level].apply(this._originalConsole, args);
1087
+ } catch (err) {
1088
+ this._originalConsole[level](args.join(' '));
1089
+ }
1090
}
1091
1092
0 commit comments