Files
console/src/hooks.server.ts
T

13 lines
345 B
TypeScript

import { sequence } from '@sveltejs/kit/hooks';
import { handleErrorWithSentry, sentryHandle } from '@sentry/sveltekit';
import { setupSentry } from '$lib/sentry';
setupSentry({
withSessionReplay: false,
withBrowserTracing: false
});
export const handle = sequence(sentryHandle());
export const handleError = handleErrorWithSentry();