captbaritone / raven-for-redux

A Raven middleware for Redux
295 stars 25 forks source link

What kind of errors will be captured? #62

Closed kontrollanten closed 6 years ago

kontrollanten commented 6 years ago

Thanks for a great package!

I'm using this together with preact and I'm wondering what kind of actions really get captured. In your example I can see that you're throwing errors inside the reducer, outside of the reducer and inside a click event. To me it looks like you're capturing most of thrown errors, but is there any cases where I need to handle it "manually" on the client side? It would be great if this could be clarified in the docs. Thanks!

captbaritone commented 6 years ago

The context will be attached to any error that Raven captures. Generally this would be any uncaught error.

Want to open a pull request to add some clarification to the Readme?