We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c32e738 commit 5d9e46dCopy full SHA for 5d9e46d
1 file changed
packages/nitro/src/config.ts
@@ -25,6 +25,12 @@ export function setupSentryNitroModule(
25
_moduleOptions?: SentryNitroOptions,
26
_serverConfigFile?: string,
27
): NitroConfig {
28
+ // @ts-expect-error Nitro tracing config is not out yet
29
+ if (!config.tracing) {
30
31
+ config.tracing = true;
32
+ }
33
+
34
config.modules = config.modules || [];
35
config.modules.push(createNitroModule());
36
0 commit comments