plane/web/instrumentation.ts

10 lines
224 B
TypeScript
Raw Normal View History

2024-05-27 09:32:03 +00:00
export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
await import('./sentry.server.config');
}
if (process.env.NEXT_RUNTIME === 'edge') {
await import('./sentry.edge.config');
}
}