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 c381cdf commit 7fde234Copy full SHA for 7fde234
Sources/Sentry/SentryCrashReportConverter.m
@@ -278,7 +278,8 @@ - (SentryThread *_Nullable)threadAtIndex:(NSInteger)threadIndex
278
SENTRY_LOG_ERROR(@"Thread index is not a number: %@", threadIndexObj);
279
return nil;
280
}
281
- SentryThread *thread = [[SentryThread alloc] initWithThreadId:threadIndexObj];
+ SentryThread *thread =
282
+ [[SentryThread alloc] initWithThreadId:SENTRY_UNWRAP_NULLABLE(NSNumber, threadIndexObj)];
283
// We only want to add the stacktrace if this thread hasn't crashed
284
thread.stacktrace = [self stackTraceForThreadIndex:threadIndex];
285
if (thread.stacktrace.frames.count == 0) {
0 commit comments