Skip to content

Commit

Permalink
Revert "[BUGFIX] Changed backburner's error handler to use `dispatchE…
Browse files Browse the repository at this point in the history
…rror` instead of `onError`. This is so that backburner errors can be caught by the `Test.adapter`. Fixes emberjs#14864."

This reverts commit 196442d.
  • Loading branch information
rwjblue committed Nov 22, 2017
1 parent 2f32bf3 commit cda2435
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 @@ -16,7 +16,7 @@ let getStack = error => {
let onerror;
export const onErrorTarget = {
get onerror() {
return dispatchOverride || onerror;
return onerror;
}
};

Expand Down

0 comments on commit cda2435

Please sign in to comment.