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 f377496 commit 8a9e462Copy full SHA for 8a9e462
packages/sveltekit/src/server-common/utils.ts
@@ -19,7 +19,7 @@ export function getTracePropagationData(event: RequestEvent): { sentryTrace: str
19
20
/** Flush the event queue to ensure that events get sent to Sentry before the response is finished and the lambda ends */
21
export async function flushIfServerless(): Promise<void> {
22
- if (!process) {
+ if (typeof process === 'undefined') {
23
return;
24
}
25
0 commit comments