sentry-dotnet
sentry-dotnet copied to clipboard
Add the Refit Exception Content to Sentry
Problem Statement
Refit is a populair library for making requests. If an exception occurs, only the Exception Message will be sent to Sentry. The Message is a very broad description (a 400 was received) without containing valuable information. This information is stored in the Content part of the Exception. Unfortunately, Sentry does not send this. So when a Refit Exception occurs, you won't know what exactly is causing this.
Solution Brainstorm
As a temporary solution I add my own EventExceptionProcessor but it would be nice to have something like .CatchRefit() to handle this.