I’ve added the next code
Ember.onerror = function (error) {
sendError(error);
}
Yes, I get errors here but not all. For example, I can’t handle the next error:
Error in application route Error: Assertion Failed: You made a 'findAll' request for 'mymodel' records, but the adapter's response did not have any data
I tried to add into application route:
actions: {
error(error, transition) {
sendError(error);
}
}
But It doesn’t help.
2 posts - 2 participants