We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7d904 commit bdcc51cCopy full SHA for bdcc51c
src/Sentry/Internal/MainSentryEventProcessor.cs
@@ -84,8 +84,7 @@ public SentryEvent Process(SentryEvent @event)
84
@event.Distribution ??= Distribution;
85
86
// If there's no current thread on the event and there is no exception with a stack trace, get the current stack trace
87
- var hasCurrentThread = @event.SentryThreads?.Any(t => t.Current == true) == true;
88
- if (@event.Exception?.StackTrace is null && !hasCurrentThread)
+ if (@event.Exception?.StackTrace is null && @event.SentryThreads?.Any(t => t.Current == true) != true)
89
{
90
var stackTrace = @event.SentryExceptions?.FirstOrDefault()?.Stacktrace
91
?? SentryStackTraceFactoryAccessor().Create();
0 commit comments