1cca7abcab
This is extracted from #8094, where I have run into some snags. Since these ESLint fixes aren’t actually connected to the Ember 3.16 update but involve changes to many files, we might as well address them separately. Where possible I fixed the problems but in cases where a fix seemed too involved, I added per-line or -file exceptions.
10 lines
259 B
JavaScript
10 lines
259 B
JavaScript
import Mixin from '@ember/object/mixin';
|
|
import notifyError from 'nomad-ui/utils/notify-error';
|
|
|
|
// eslint-disable-next-line ember/no-new-mixins
|
|
export default Mixin.create({
|
|
model() {
|
|
return this._super(...arguments).catch(notifyError(this));
|
|
},
|
|
});
|