Making progress on rewrite. Looking into supabase cache helpers.
This commit is contained in:
10
src/instrumentation.ts
Normal file
10
src/instrumentation.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import * as Sentry from '@sentry/nextjs';
|
||||
import type { Instrumentation } from 'next';
|
||||
|
||||
export const register = async () => {
|
||||
await import('../sentry.server.config');
|
||||
};
|
||||
|
||||
export const onRequestError: Instrumentation.onRequestError = (...args) => {
|
||||
Sentry.captureRequestError(...args);
|
||||
};
|
Reference in New Issue
Block a user