captbaritone / raven-for-redux

A Raven middleware for Redux
295 stars 25 forks source link

add action to breadcrumb #27

Closed cyberhck closed 7 years ago

cyberhck commented 7 years ago

Add the whole action to breadcrumb. Normally people add payload to their action, this way, we can make a report more "reproducible". I believe right now we're only adding action.type in breadcrumb.

captbaritone commented 7 years ago

You should be able to achieve something like this with the breadcrumbDataFromAction option. Keep in mind that it's very easy to run up against the maximum payload size allowed by Sentry. The documentation for the option goes into a bit more detail.

I'll leave this issue open as a reminder to call out this specific use case in the breadcrumbDataFromAction documentation.