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 dbb5bca commit 50643c0Copy full SHA for 50643c0
ios/RNSentry.m
@@ -349,7 +349,7 @@ - (void)swizzleCallNativeModule:(Class)class {
349
NSDictionary *exception = event[@"exception"][@"values"][0];
350
NSMutableArray *frames = [NSMutableArray array];
351
NSArray<SentryFrame *> *stacktrace = [self convertReactNativeStacktrace:SentryParseRavenFrames(exception[@"stacktrace"][@"frames"])];
352
- for (NSInteger i = (stacktrace.count-1); i > 0; i--) {
+ for (NSInteger i = (stacktrace.count-1); i >= 0; i--) {
353
[frames addObject:[stacktrace objectAtIndex:i]];
354
}
355
[self addExceptionToEvent:sentryEvent type:exception[@"type"] value:exception[@"value"] frames:frames];
0 commit comments