From ee7faa55618339378ee565a70bf7d10d7bd60374 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 6 Dec 2017 10:32:50 -0800 Subject: [PATCH] Warn errors in prod --- ui/app/controllers/application.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/app/controllers/application.js b/ui/app/controllers/application.js index f577ec54e..ee8bee9ee 100644 --- a/ui/app/controllers/application.js +++ b/ui/app/controllers/application.js @@ -33,6 +33,11 @@ export default Controller.extend({ run.next(() => { throw this.get('error'); }); + } else { + run.next(() => { + // eslint-disable-next-line + console.warn('UNRECOVERABLE ERROR:', this.get('error')); + }); } }), });