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

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

Projects

None yet

2 participants

@mikeobrien

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

@bryanrsmith bryanrsmith added the bug label Oct 25, 2015
@bryanrsmith bryanrsmith added a commit to aurelia/templating-router that closed this issue Oct 26, 2015
@bryanrsmith bryanrsmith feat(route-href): report errors via aurelia-logging ac8dc0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment