• A SvelteKit handle function that wraps the request for Sentry error and performance monitoring.

    Usage:

    // src/hooks.server.ts
    import { sentryHandle } from '@sentry/sveltekit';

    export const handle = sentryHandle();

    // Optionally use the sequence function to add additional handlers.
    // export const handle = sequence(sentryHandle(), yourCustomHandler);

    Parameters

    • Optional handlerOptions: SentryHandleOptions

    Returns Handle

Generated using TypeDoc