-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
What's the best way to provide extra_context for all Faraday::Error::ClientError? #814
Comments
@nateberkopec would you be open to a PR doing this monkey-patching when this gem loads? Since sentry-raven depends on Faraday anyway, it seems helpful to add this context out-of-the-box to me. |
+1 to what @isaacseymour is saying |
Hi, I don't maintain this anymore. Someone else does! I should probably remove my own owner status on rubygems.org too! 😅 |
|
Coming from artsy/doppler#136. Somewhere a Rails controller throws a
Faraday::Error::ClientError
. That gets logged with a genericto_s
like "The server returned 400". We want the body of that response in Sentry.What's the best way to accomplish that (customize what gets reported per type of StandardError) generically in a Rails app?
The text was updated successfully, but these errors were encountered: