A SvelteKit handle function that wraps the request for Sentry error and performance monitoring.
Usage:
// src/hooks.server.tsimport { sentryHandle } from '@sentry/sveltekit';export const handle = sentryHandle();// Optionally use the sequence function to add additional handlers.// export const handle = sequence(sentryHandle(), yourCustomHandler); Copy
// src/hooks.server.tsimport { sentryHandle } from '@sentry/sveltekit';export const handle = sentryHandle();// Optionally use the sequence function to add additional handlers.// export const handle = sequence(sentryHandle(), yourCustomHandler);
Optional
Generated using TypeDoc
A SvelteKit handle function that wraps the request for Sentry error and performance monitoring.
Usage: