From fbdf3ed3cb80a2dd37aee56d87a7d52c5cf29edb Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Mon, 11 Dec 2017 16:20:13 -0800 Subject: [PATCH] Don't warn intentional errors in tests It's too noisy --- ui/app/controllers/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/controllers/application.js b/ui/app/controllers/application.js index ee8bee9ee..faa744e96 100644 --- a/ui/app/controllers/application.js +++ b/ui/app/controllers/application.js @@ -33,7 +33,7 @@ export default Controller.extend({ run.next(() => { throw this.get('error'); }); - } else { + } else if (!Ember.testing) { run.next(() => { // eslint-disable-next-line console.warn('UNRECOVERABLE ERROR:', this.get('error'));