getsentry / raven-csharp

Superseded by: https://github.com/getsentry/sentry-dotnet
BSD 3-Clause "New" or "Revised" License
231 stars 121 forks source link

Consider using Ben.Demystifier for stack traces #282

Closed scottt732 closed 4 years ago

scottt732 commented 4 years ago

The stack traces reported by .NET -> Sentry are pretty cryptic, particularly when there are lambdas and/or async/await code. It would be useful to either incorporate benaadams/Ben.Demystifier into the client or allow users to plug in their own stack trace provider.

Additionally, it would be useful to format generic exception type names in a more friendly way. Right now SomeApplicationException would show up in Sentry as SomeApplicationException`1. Something like this would improve the situation a bit.

bruno-garcia commented 4 years ago

Please note SharpRaven is deprecated.

The new Sentry SDK has an extension for Ben.Demystifier. Besides that, I've raised an issue to perhaps bring this into the main SDK package:

https://github.com/getsentry/sentry-dotnet/issues/333