Skip to content

Commit b2a0ec7

Browse files
committed
Remove sending breadcrumbs in enqueueNativeCall
1 parent 5aa323e commit b2a0ec7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ios/RNSentry.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ + (NSRegularExpression *)frameRegex {
109109
@synchronized ([SentryClient shared]) {
110110
[[SentryClient shared] addExtra:@"__sentry_address" value:[NSNumber numberWithUnsignedInteger:callNativeModuleAddress]];
111111
[[SentryClient shared] addExtra:@"__sentry_stack" value:SentryParseJavaScriptStacktrace([RCTConvert NSString:param[@"__sentry_stack"]])];
112-
// [RCTConvert NSArray:param[@"__sentry_breadcrumbs"]] // we will add this in the objc client
113112
}
114113
} else {
115114
if (param != nil) {

lib/Sentry.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,7 @@ class NativeClient {
222222
return original.apply(this, arguments);
223223
}
224224
params.push({
225-
'__sentry_stack': new Error().stack,
226-
'__sentry_breadcrumbs': [].slice.apply(Raven._breadcrumbs) // send breadcrumbs
225+
'__sentry_stack': new Error().stack
227226
});
228227
return original.apply(this, arguments);
229228
}

0 commit comments

Comments
 (0)