From cda243568f8480835e3253365f5041b003086cfa Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Wed, 22 Nov 2017 11:03:21 -0500 Subject: [PATCH] Revert "[BUGFIX] Changed backburner's error handler to use `dispatchError` instead of `onError`. This is so that backburner errors can be caught by the `Test.adapter`. Fixes #14864." This reverts commit 196442dc17b2511495b68087b1c5e817c70d62da. --- packages/ember-metal/lib/error_handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-metal/lib/error_handler.js b/packages/ember-metal/lib/error_handler.js index 2ebdb29bae9..72ce2c47412 100644 --- a/packages/ember-metal/lib/error_handler.js +++ b/packages/ember-metal/lib/error_handler.js @@ -16,7 +16,7 @@ let getStack = error => { let onerror; export const onErrorTarget = { get onerror() { - return dispatchOverride || onerror; + return onerror; } };