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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Show comment
Hide comment
@mikeobrien

mikeobrien commented Oct 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment