Skip to content

Commit 344a093

Browse files
committed
review suggestions
1 parent c5f57b2 commit 344a093

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
@@ -95,15 +95,15 @@ export default defineNuxtModule<ModuleOptions>({
9595
if (serverDir.includes('.netlify') || !!process.env.NETLIFY) {
9696
// eslint-disable-next-line no-console
9797
console.warn(
98-
'[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/',
98+
'[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/',
9999
);
100100
}
101101

102102
// Vercel env: https://vercel.com/docs/projects/environment-variables/system-environment-variables#VERCEL
103103
if (serverDir.includes('.vercel') || !!process.env.VERCEL) {
104104
// eslint-disable-next-line no-console
105105
console.warn(
106-
'[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/',
106+
'[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/',
107107
);
108108
}
109109
});

0 commit comments

Comments
 (0)