You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nuxt/src/common/types.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -118,12 +118,12 @@ export type SentryNuxtModuleOptions = {
118
118
dynamicImportForServerEntry?: boolean;
119
119
120
120
/**
121
-
* By default—unless you configure `dynamicImportForServerEntry: false`—the SDK will try to wrap your application entrypoint
121
+
* By default—unless you configure `dynamicImportForServerEntry: false`—the SDK will try to wrap your Nitro server entrypoint
122
122
* with a dynamic `import()` to ensure all dependencies can be properly instrumented. Any previous exports from the entrypoint are still exported.
123
123
* Most exports of the server entrypoint are serverless functions and those are wrapped by Sentry. Other exports stay as-is.
124
124
*
125
125
* By default, the SDK will wrap the default export as well as a `handler` or `server` export from the entrypoint.
126
-
* If your application has a different main export that is used to run the application, you can overwrite this by providing an array of export names to wrap.
126
+
* If your server has a different main export that is used to run the server, you can overwrite this by providing an array of export names to wrap.
127
127
* Any wrapped export is expected to be an async function.
@@ -108,7 +110,7 @@ export function constructWrappedFunctionExportQuery(
108
110
consoleSandbox(()=>
109
111
// eslint-disable-next-line no-console
110
112
console.warn(
111
-
"[Sentry] No functions found to wrap. In case your server needs to export async functions other than `handler` or `server`, consider adding the name(s) to Sentry's build options `sentry.entrypointWrappedFunctions` in your `nuxt.config.ts`.",
113
+
"[Sentry] No functions found to wrap. In case the server needs to export async functions other than `handler` or `server`, consider adding the name(s) to Sentry's build options `sentry.entrypointWrappedFunctions` in `nuxt.config.ts`.",
112
114
),
113
115
);
114
116
}
@@ -120,7 +122,7 @@ export function constructWrappedFunctionExportQuery(
"[Sentry] No functions found to wrap. In case your server needs to export async functions other than `handler` or `server`, consider adding the name(s) to Sentry's build options `sentry.entrypointWrappedFunctions` in your `nuxt.config.ts`.",
155
+
"[Sentry] No functions found to wrap. In case the server needs to export async functions other than `handler` or `server`, consider adding the name(s) to Sentry's build options `sentry.entrypointWrappedFunctions` in `nuxt.config.ts`.",
0 commit comments