Skip to content

Commit d918aec

Browse files
committed
Fix comparison
1 parent 0668d9a commit d918aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Platforms/Cocoa/SentrySdk.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ private static CocoaSdk.SentryHttpStatusCodeRange[] GetFailedRequestStatusCodes(
221221
// Thankfully, sometimes we can see Xamarin's unhandled exception handler on the stack trace, so we can filter
222222
// them out. Here is the function that calls abort(), which we will use as a filter:
223223
// https://github.com/xamarin/xamarin-macios/blob/c55fbdfef95028ba03d0f7a35aebca03bd76f852/runtime/runtime.m#L1114-L1122
224-
if (options.Native.SuppressSignalAborts && ex.Type == "SIGABRT" && ex.Value == "Signal 6, Code 0" &&
224+
if (options.Native.SuppressSignalAborts == true && ex.Type == "SIGABRT" && ex.Value == "Signal 6, Code 0" &&
225225
ex.Stacktrace?.Frames.Any(f => f.Function == "xamarin_unhandled_exception_handler") is true)
226226
{
227227
// Don't send it

0 commit comments

Comments
 (0)