getsentry / getsentry/sentry-dotnet
Add a Sentry.Refit Sample
- Dominant language
- C#
- Stars
- 770
- Forks
- 248
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 49
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.