diff --git a/packages/nextjs/src/config/withSentryConfig.ts b/packages/nextjs/src/config/withSentryConfig.ts index e3092af747c6..7dd86b600c15 100644 --- a/packages/nextjs/src/config/withSentryConfig.ts +++ b/packages/nextjs/src/config/withSentryConfig.ts @@ -178,7 +178,8 @@ function getFinalConfigObject( patch !== undefined && (major > 15 || (major === 15 && minor > 3) || - (major === 15 && minor === 3 && patch >= 0 && prerelease === undefined)); + (major === 15 && minor === 3 && patch === 0 && prerelease === undefined) || + (major === 15 && minor === 3 && patch > 0)); const isSupportedCanary = major !== undefined && minor !== undefined &&