Skip to content

Commit bd042fd

Browse files
committed
Smallish fix with log message
1 parent e0e1bae commit bd042fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/core/src/js/tracing

packages/core/src/js/tracing/span.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const startIdleSpan = (
119119

120120
const currentAppState = AppState.currentState;
121121
if (currentAppState === 'background' || currentAppState === 'inactive') {
122-
debug.log(`[startIdleSpan] App is already either inactive or in background, not starting span for ${startSpanOption.name}`);
122+
debug.log(`[startIdleSpan] App is already in '${currentAppState}' state, not starting span for ${startSpanOption.name}`);
123123
return new SentryNonRecordingSpan();
124124
}
125125

0 commit comments

Comments
 (0)