Skip to content

Commit 4fdb032

Browse files
committed
more nextjs stuff
1 parent ec0d542 commit 4fdb032

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/nextjs/src/client/routing/parameterization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GLOBAL_OBJ, debug } from '@sentry/core';
1+
import { debug, GLOBAL_OBJ } from '@sentry/core';
22
import { DEBUG_BUILD } from '../../common/debug-build';
33
import type { RouteManifest } from '../../config/manifest/types';
44

packages/nextjs/src/common/devErrorSymbolicationEventProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Event, EventHint } from '@sentry/core';
2-
import { GLOBAL_OBJ, debug, parseSemver, suppressTracing } from '@sentry/core';
2+
import { debug, GLOBAL_OBJ, parseSemver, suppressTracing } from '@sentry/core';
33
import type { StackFrame } from 'stacktrace-parser';
44
import * as stackTraceParser from 'stacktrace-parser';
55
import { DEBUG_BUILD } from './debug-build';

packages/nextjs/src/common/withServerActionInstrumentation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import type { RequestEventData } from '@sentry/core';
22
import {
33
captureException,
44
continueTrace,
5+
debug,
56
getActiveSpan,
67
getClient,
78
getIsolationScope,
89
handleCallbackErrors,
9-
logger,
1010
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
1111
SPAN_STATUS_ERROR,
1212
startSpan,
@@ -84,7 +84,7 @@ async function withServerActionInstrumentationImplementation<A extends (...args:
8484
});
8585
} catch {
8686
DEBUG_BUILD &&
87-
logger.warn(
87+
debug.warn(
8888
"Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.",
8989
);
9090
}

0 commit comments

Comments
 (0)