There was an error while loading. Please reload this page.
1 parent 20ed477 commit 97f0df9Copy full SHA for 97f0df9
1 file changed
web/app/instrumentation.ts
@@ -1,9 +1,11 @@
1
import * as Sentry from "@sentry/nextjs";
2
export async function register() {
3
if (process.env.NEXT_RUNTIME === "nodejs") {
4
+ // @ts-ignore
5
await import("./sentry.server.config");
6
}
7
if (process.env.NEXT_RUNTIME === "edge") {
8
9
await import("./sentry.edge.config");
10
11
0 commit comments