Skip to content
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

Sentry .NET Enhanced stacktrace breaks on Mono #46

Closed
bruno-garcia opened this issue Feb 1, 2021 · 1 comment · Fixed by #1033
Closed

Sentry .NET Enhanced stacktrace breaks on Mono #46

bruno-garcia opened this issue Feb 1, 2021 · 1 comment · Fixed by #1033
Labels
Feature New feature or request Mono

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Feb 1, 2021

Path.GetFileName throws on Mono for "<2138123765123>" values, while on .net 5 doesn't throw.

https://github.com/getsentry/sentry-dotnet/blob/4e41189a211a4b60a20180edd3bfe113dc7030e3/src/Sentry/SentryOptions.cs#L446

Work around is to use StackTraceMode.Original for now (milestone 0.1.0)

But we can change the .NET SDK to special case <mvid> and not call Path.GetFileName or any other API that breaks. In a future milestone.

@bruno-garcia bruno-garcia added this to the 0.1.0 milestone Feb 1, 2021
@semuserable semuserable self-assigned this Feb 1, 2021
@semuserable semuserable removed their assignment Mar 4, 2021
@semuserable
Copy link
Contributor

Should this one be removed from 0.1.0 milestone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Mono
Projects
Archived in project
3 participants