diff --git a/Sources/Sentry/SentrySessionReplayIntegration.m b/Sources/Sentry/SentrySessionReplayIntegration.m index 8f8f70f36e..5ab399525d 100644 --- a/Sources/Sentry/SentrySessionReplayIntegration.m +++ b/Sources/Sentry/SentrySessionReplayIntegration.m @@ -202,7 +202,7 @@ - (void)resumePreviousSessionReplay:(SentryEvent *)event NSURL *dir = [self replayDirectory]; NSDictionary *jsonObject = [self lastReplayInfo]; - if (jsonObject == nil) { + if (jsonObject == nil || jsonObject[@"path"] == nil) { SENTRY_LOG_DEBUG( @"[Session Replay] No last replay info found, not resuming previous session replay"); return;