Skip to content

Commit

Permalink
Merge pull request #15519 from emberjs/remove-capture-stack-trace
Browse files Browse the repository at this point in the history
[BUGFIX beta] remove Error.captureStackTrace
  • Loading branch information
stefanpenner authored Jul 17, 2017
2 parents 4a9e90d + 03f4bbb commit cfabfc3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/ember-debug/lib/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ export default class EmberError extends ExtendBuiltin(Error) {
}

let error = Error.call(this, message);

if (Error.captureStackTrace) {
Error.captureStackTrace(this, EmberError);
} else {
this.stack = error.stack;
}

this.stack = error.stack;
this.description = error.description;
this.fileName = error.fileName;
this.lineNumber = error.lineNumber;
Expand Down

0 comments on commit cfabfc3

Please sign in to comment.