We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07afa16 + 305d796 commit a7605dcCopy full SHA for a7605dc
error-stack-parser.js
@@ -55,7 +55,9 @@
55
},
56
57
parseV8OrIE: function ErrorStackParser$$parseV8OrIE(error) {
58
- return error.stack.split('\n').slice(1).map(function (line) {
+ return error.stack.split('\n').filter(function (line) {
59
+ return !!line.match(CHROME_IE_STACK_REGEXP);
60
+ }, this).map(function (line) {
61
var tokens = line.replace(/^\s+/, '').split(/\s+/).slice(1);
62
var locationParts = this.extractLocation(tokens.pop());
63
var functionName = (!tokens[0] || tokens[0] === 'Anonymous') ? undefined : tokens[0];
0 commit comments