Skip to content

Commit

Permalink
Merge fc59b3a into e19cca3
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Jun 14, 2024
2 parents e19cca3 + fc59b3a commit e118e16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Sentry/SentrySDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ + (void)captureEnvelope:(SentryEnvelope *)envelope
+ (void)storeEnvelope:(SentryEnvelope *)envelope
{
if (nil != [SentrySDK.currentHub getClient]) {
[[SentrySDK.currentHub getClient] storeEnvelope:envelope];
[[SentrySDK.currentHub getClient]
storeEnvelope:[SentrySDK.currentHub updateSessionState:envelope]];
}
}

Expand Down
2 changes: 2 additions & 0 deletions Sources/Sentry/include/SentryHub+Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ SentryHub ()

- (void)captureEnvelope:(SentryEnvelope *)envelope;

- (SentryEnvelope *)updateSessionState:(SentryEnvelope *)envelope;

@end

NS_ASSUME_NONNULL_END

0 comments on commit e118e16

Please sign in to comment.