You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from artsy/doppler#136. Somewhere a Rails controller throws a Faraday::Error::ClientError. That gets logged with a generic to_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:
@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.
sentry-raven is now in maintenance mode, so we won't introduce such change to it.
The new sentry-ruby doesn't support exception context anymore and we're planning to drop faraday soon. So we won't add the patch to it either 🙂
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: