Skip to content

Commit fcb2ad4

Browse files
fix(ios): Store envelopes immediately during a fatal crash on iOS (#3030)
1 parent cbac3f6 commit fcb2ad4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Store envelopes immediately during a fatal crash on iOS ([#3030](https://github.com/getsentry/sentry-react-native/pull/3030))
8+
39
## 4.15.0
410

511
### Features

ios/RNSentry.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ - (void)setEventEnvironmentTag:(SentryEvent *)event
292292
#if DEBUG
293293
[PrivateSentrySDKOnly captureEnvelope:envelope];
294294
#else
295-
if (options[@'store']) {
295+
if (options[@"store"]) {
296296
// Storing to disk happens asynchronously with captureEnvelope
297297
[PrivateSentrySDKOnly storeEnvelope:envelope];
298298
} else {

0 commit comments

Comments
 (0)