-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional Data section of Sentry doesn't show current state and the action #3
Comments
Same here. Not sure if it's related, but i also get the message 'Error: Raven has not been configured.' in the console. |
@maksad the middleware only handles errors raised on actions, not component-level code. Redux middleware wraps every action where we have access to getState, Redux middleware doesn't touch component-level code. Let me know if that makes sense. @Hyra hmm, are you initializing the middleware with your Sentry DSN? I wonder what's happening there. |
@ngokevin: yeah, i just added the middleware like so:
Could it be because I'm running a local webserver on 127.0.0.1 .. Want me to create a separate ticket for it? |
@Hyra yeah you can file another one, i'll check it out. Put all the logs/details you have. thanks! |
Done at #4 ! Cheers! |
@maksad i'm going to close this. Try triggering the error in an action, or let me know if you have any ideas on how to feed the Redux state into Raven at the component-level. |
Thanks @ngokevin I will write when there will be a proper solution for feeding the Redux state into Raven at the component-level. |
@ngokevin
|
Nice, glad that can be done. Might be worth documenting |
The source code shows that if there is an error then the Raven extra fields should have
action
and current state -store.getState()
.However, when intentionally raising an error in my code to catch in Sentry:
Sentry states only about the
session:duration
and no any information can be found aboutaction
andstate
.Here is a screenshot:
The text was updated successfully, but these errors were encountered: