Skip to content

Commit

Permalink
Merge pull request #15161 from mk-conn/ie-issue-15154
Browse files Browse the repository at this point in the history
resolves #15154
  • Loading branch information
locks authored Apr 25, 2017
2 parents adcc0e0 + 6d3b250 commit 0f1d5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-metal/lib/error_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let getStack = error => {
let stack = error.stack;
let message = error.message;

if (stack && !stack.includes(message)) {
if (stack && stack.indexOf(message) === -1) {
stack = `${message}\n${stack}`;
}

Expand Down

0 comments on commit 0f1d5f5

Please sign in to comment.