Add sentry stuff

This commit is contained in:
2026-01-13 15:56:34 -06:00
parent c4d78428e6
commit 4bdbb3feb1
5 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import type { Instrumentation } from 'next';
import * as Sentry from '@sentry/nextjs';
export const register = async () => await import('./sentry.server.config');
export const onRequestError: Instrumentation.onRequestError = (...args) => {
Sentry.captureRequestError(...args);
};