captbaritone / raven-for-redux

A Raven middleware for Redux
295 stars 25 forks source link

Sentry discarding invalid parameter 'lastAction' #2

Closed joshfarrant closed 7 years ago

joshfarrant commented 7 years ago

I'm currently swapping out redux-raven-middleware for raven-for-redux (much prefer your implementation :+1: ) and I've just run into this error in Sentry:

Sentry discarding invalid parameter 'lastAction'

Not sure if this is actually a bug with this project, but wanted to check if this something you've come across before, or have any thoughts on how to resolve?

captbaritone commented 7 years ago

Where exactly are you seeing the error? Sentry.io, or as a console error from Raven?

joshfarrant commented 7 years ago

I'm seeing this within Sentry. As I said, it may not strictly be an issue with this project, I just wanted to check whether or not there could be an issue with the way raven-for-redux is formatting the data that Sentry is having difficulty parsing.

If this isn't reproducible (My set-up is identical to that in the README) then it's unlikely that this is an issue with this project and is more likely an issue with my install of Sentry.

captbaritone commented 7 years ago

It looks like this was caused by me calling Raven.context incorrectly. See the fix here.

I've cut a new release 0.4.0. Would you try upgrading and see if that fixes the issue?

Thanks for reporting this!

joshfarrant commented 7 years ago

All good, thanks for the fix!