Skip to content
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

Handle view errors and pipe them into the Aurelia logger #227

Closed
mikeobrien opened this issue Oct 17, 2015 · 1 comment
Closed

Handle view errors and pipe them into the Aurelia logger #227

mikeobrien opened this issue Oct 17, 2015 · 1 comment
Labels
bug

Comments

@mikeobrien
Copy link

@mikeobrien mikeobrien commented Oct 17, 2015

I'm running into an issue where errors in the view can't be handled. For example, if a route name is wrong in a view, an unhandled promise rejection error is thrown but it's not logged by the Aurelia logger and ATM you can't reliably catch promise rejection errors with the global error handler. I'm currently using a custom log appender to send errors back to the server, which works great! Would love view errors to also flow through the same channel.

image

@mikeobrien
Copy link
Author

@mikeobrien mikeobrien commented Oct 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.