2017-12-15 21:39:18 +00:00
|
|
|
import Mixin from '@ember/object/mixin';
|
2017-09-28 17:59:59 +00:00
|
|
|
import notifyError from 'nomad-ui/utils/notify-error';
|
|
|
|
|
2020-06-09 21:03:28 +00:00
|
|
|
// eslint-disable-next-line ember/no-new-mixins
|
2017-09-28 17:59:59 +00:00
|
|
|
export default Mixin.create({
|
|
|
|
model() {
|
|
|
|
return this._super(...arguments).catch(notifyError(this));
|
|
|
|
},
|
|
|
|
});
|