File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,8 @@ - (void)captureSession:(nullable SentrySession *)session
208208 }
209209
210210 SentryClientInternal *client = self.client ;
211- if (client.options .diagnosticLevel == kSentryLevelDebug ) {
212- SENTRY_LOG_DEBUG (@" Capturing session with status: %@ " ,
213- [self createSessionDebugString: SENTRY_UNWRAP_NULLABLE (SentrySession, session)]);
214- }
211+ SENTRY_LOG_DEBUG (@" Capturing session with status: %@ " ,
212+ [self createSessionDebugString: SENTRY_UNWRAP_NULLABLE (SentrySession, session)]);
215213 [client captureSession: SENTRY_UNWRAP_NULLABLE (SentrySession, session)];
216214}
217215
@@ -737,10 +735,8 @@ - (SentryEnvelope *)updateSessionState:(SentryEnvelope *)envelope
737735 [currentSession
738736 endSessionCrashedWithTimestamp: [SentryDependencyContainer.sharedInstance
739737 .dateProvider date ]];
740- if (self.client .options .diagnosticLevel == kSentryLevelDebug ) {
741- SENTRY_LOG_DEBUG (@" Ending session with status: %@ " ,
742- [self createSessionDebugString: currentSession]);
743- }
738+ SENTRY_LOG_DEBUG (@" Ending session with status: %@ " ,
739+ [self createSessionDebugString: currentSession]);
744740 if (startNewSession) {
745741 // Setting _session to nil so startSession doesn't capture it again
746742 _session = nil ;
You can’t perform that action at this time.
0 commit comments