File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -206,16 +206,6 @@ - (void)setReleaseVersionDist:(SentryEvent *)event {
206206 [self injectReactNativeFrames: event];
207207 [self setReleaseVersionDist: event];
208208 };
209- client.shouldSendEvent = ^BOOL (SentryEvent * _Nonnull event) {
210- // We don't want to send an event after startup that came from a NSException of react native
211- // Because we sent it already before the app crashed.
212- if (nil != event.exceptions .firstObject .type &&
213- [event.exceptions.firstObject.type rangeOfString: @" RCTFatalException" ].location != NSNotFound ) {
214- NSLog (@" RCTFatalException" );
215- return NO ;
216- }
217- return YES ;
218- };
219209 [SentryClient setSharedClient: client];
220210 [SentryClient.sharedClient startCrashHandlerWithError: &error];
221211 if (error) {
You can’t perform that action at this time.
0 commit comments