Skip to content

Commit 490ba54

Browse files
committed
Fix dodgy merge
1 parent 9184779 commit 490ba54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/tracing/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DEBUG_BUILD } from '../debug-build';
22
import { addGlobalErrorInstrumentationHandler } from '../instrument/globalError';
33
import { addGlobalUnhandledRejectionInstrumentationHandler } from '../instrument/globalUnhandledRejection';
4-
import { logger } from '../utils/logger';
4+
import { debug } from '../utils/logger';
55
import { getActiveSpan, getRootSpan } from '../utils/spanUtils';
66
import { SPAN_STATUS_ERROR } from './spanstatus';
77

@@ -28,7 +28,7 @@ export function registerSpanErrorInstrumentation(): void {
2828
const rootSpan = activeSpan && getRootSpan(activeSpan);
2929
if (rootSpan) {
3030
const message = 'internal_error';
31-
DEBUG_BUILD && logger.log(`[Tracing] Root span: ${message} -> Global error occurred`);
31+
DEBUG_BUILD && debug.log(`[Tracing] Root span: ${message} -> Global error occurred`);
3232
rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message });
3333
}
3434
}

0 commit comments

Comments
 (0)