New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default error template prevents captureError
#105
Comments
And here is the workaround: // app/routes/application.js
import Ember from 'ember';
export default Ember.Route.extend({
raven: Ember.inject.service(),
...
actions: {
error(error){
this.get('raven').captureException(error)
return true; // Let the route above this handle the error.
}
}
}); See: https://guides.emberjs.com/v2.16.0/routing/loading-and-error-substates/ Can we have this documented? Or is there a way for |
Same problem here. Using error templates seems to be quite normal.
|
yes, I think this should be documented. PRs are obviously welcome 😉 |
This should definitely be included in the addon, at least a note in the README to add this |
It took me quite some time to find out why no errors were sent to sentry. It's the default error template.
Minimal working example:
The text was updated successfully, but these errors were encountered: