mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Warn errors in prod
This commit is contained in:
@@ -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'));
|
||||
});
|
||||
}
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user