Skip to content

Commit

Permalink
browser/ember: Rethrow errors in testing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Oct 26, 2018
1 parent f6bf0fd commit 45b2550
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 45b2550

Please sign in to comment.