Skip to content

Commit 08cfb85

Browse files
committed
review suggestions
1 parent b024239 commit 08cfb85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nuxt/src/module.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ export default defineNuxtModule<ModuleOptions>({
9191
if (serverDir.includes('.netlify') || !!process.env.NETLIFY) {
9292
// eslint-disable-next-line no-console
9393
console.warn(
94-
'[Sentry] Warning: The Sentry SDK detected a Netlify build. Server-side support for the Sentry Nuxt SDK on Netlify is currently unreliable due to technical limitations of serverless functions. Traces are not collected, and some errors may not be reported. For more information on setting up Sentry on the Nuxt server-side, please refer to the documentation: https://docs.sentry.io/platforms/javascript/guides/nuxt/install/',
94+
'[Sentry] Warning: The Sentry SDK detected a Netlify build. Server-side support for the Sentry Nuxt SDK on Netlify is currently unreliable due to technical limitations of serverless functions. Traces are not collected, and errors may occasionally not be reported. For more information on setting up Sentry on the Nuxt server-side, please refer to the documentation: https://docs.sentry.io/platforms/javascript/guides/nuxt/install/',
9595
);
9696
}
9797

9898
// Vercel env: https://vercel.com/docs/projects/environment-variables/system-environment-variables#VERCEL
9999
if (serverDir.includes('.vercel') || !!process.env.VERCEL) {
100100
// eslint-disable-next-line no-console
101101
console.warn(
102-
'[Sentry] Warning: The Sentry SDK detected a Vercel build. The Sentry Nuxt SDK support for ESM on Vercel is currently experimental. Traces are not collected, but errors are reported. For more information on setting up Sentry on the Nuxt server-side, please refer to the documentation: https://docs.sentry.io/platforms/javascript/guides/nuxt/install/',
102+
'[Sentry] Warning: The Sentry SDK detected a Vercel build. The Sentry Nuxt SDK currently does not support tracing on Vercel. For more information on setting up Sentry on the Nuxt server-side, please refer to the documentation: https://docs.sentry.io/platforms/javascript/guides/nuxt/install/',
103103
);
104104
}
105105
});

0 commit comments

Comments
 (0)