Warn errors in prod

This commit is contained in:
Michael Lange
2017-12-06 10:32:50 -08:00
parent deba901a92
commit ee7faa5561

View File

@@ -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'));
});
}
}),
});