suna/frontend/src/instrumentation-client.ts

7 lines
195 B
TypeScript

import * as Sentry from '@sentry/nextjs';
import { SentryConfig } from './sentry.config';
Sentry.init(SentryConfig);
export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;