Skip to content

Commit

Permalink
browser/ember: Rethrow errors in testing mode (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 authored and kamilogorek committed Oct 31, 2018
1 parent efa7a33 commit 17e86a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/browser/src/integrations/pluggable/ember.ts
Expand Up @@ -49,6 +49,8 @@ export class Ember implements Integration {

if (typeof oldOnError === 'function') {
oldOnError.call(this.Ember, error);
} else if (this.Ember.testing) {
throw error;
}
};

Expand Down

0 comments on commit 17e86a2

Please sign in to comment.