Skip to content

Commit cf0cbe1

Browse files
committed
bring back console
1 parent 177eb95 commit cf0cbe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/profiling-node/src/integration.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,8 @@ class ContinuousProfiler {
632632
export const _nodeProfilingIntegration = ((): ProfilingIntegration<NodeClient> => {
633633
if (![16, 18, 20, 22, 24].includes(NODE_MAJOR)) {
634634
consoleSandbox(() => {
635-
debug.warn(
635+
// eslint-disable-next-line no-console
636+
console.warn(
636637
`[Sentry Profiling] You are using a Node.js version that does not have prebuilt binaries (${NODE_VERSION}).`,
637638
'The @sentry/profiling-node package only has prebuilt support for the following LTS versions of Node.js: 16, 18, 20, 22, 24.',
638639
'To use the @sentry/profiling-node package with this version of Node.js, you will need to compile the native addon from source.',

0 commit comments

Comments
 (0)