There are a number of libraries that enable logging front end errors to the server, one I looked at involves wrapping the application in a try catch block. It is a viable strategy to use such tool? can Ember be extended to get such feedback without requiring another library ?
if you wrap the whole application into a
try/catch block, it’s just a big block which returns meaningless and awfully needless error objects/messages - in my opinion.
I implemented my own logger util in Ember and call the
ErrorLogger within a global error handler and all over the place, where I want to write error logs which will be sent to the backend. (acutally I’m writing to the
sessionStorage and send logs on registered events…)