Skip to content

Commit e7d80f6

Browse files
committed
fix(profiling) always warn when running on incompatible major version of nodejs
1 parent 7e39d04 commit e7d80f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/profiling-node/src/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ class ContinuousProfiler {
426426

427427
/** Exported only for tests. */
428428
export const _nodeProfilingIntegration = ((): ProfilingIntegration<NodeClient> => {
429-
if (DEBUG_BUILD && ![16, 18, 20, 22].includes(NODE_MAJOR)) {
429+
if (![16, 18, 20, 22].includes(NODE_MAJOR)) {
430430
logger.warn(
431431
`[Profiling] You are using a Node.js version that does not have prebuilt binaries (${NODE_VERSION}).`,
432432
'The @sentry/profiling-node package only has prebuilt support for the following LTS versions of Node.js: 16, 18, 20, 22.',

0 commit comments

Comments
 (0)