diff --git a/web-app/src/app/global-error.tsx b/web-app/src/app/global-error.tsx index 9bda5fee..362f8e87 100644 --- a/web-app/src/app/global-error.tsx +++ b/web-app/src/app/global-error.tsx @@ -20,4 +20,4 @@ export default function GlobalError({ error }: { error: Error & { digest?: strin ); -} \ No newline at end of file +} diff --git a/web-app/src/app/sentry-example-page/page.tsx b/web-app/src/app/sentry-example-page/page.tsx index b35323ea..61b91abf 100644 --- a/web-app/src/app/sentry-example-page/page.tsx +++ b/web-app/src/app/sentry-example-page/page.tsx @@ -50,8 +50,8 @@ export default function Page() { }} onClick={async () => { await Sentry.startSpan({ - name: 'Example Frontend Span', - op: 'test' + name: "Example Frontend Span", + op: "test", }, async () => { const res = await fetch("/api/sentry-example-api"); if (!res.ok) { diff --git a/web-app/src/instrumentation.ts b/web-app/src/instrumentation.ts index 8aff09f0..ecb65282 100644 --- a/web-app/src/instrumentation.ts +++ b/web-app/src/instrumentation.ts @@ -1,12 +1,12 @@ -import * as Sentry from '@sentry/nextjs'; +import * as Sentry from "@sentry/nextjs"; export async function register() { - if (process.env.NEXT_RUNTIME === 'nodejs') { - await import('../sentry.server.config'); + if (process.env.NEXT_RUNTIME === "nodejs") { + await import("../sentry.server.config"); } - if (process.env.NEXT_RUNTIME === 'edge') { - await import('../sentry.edge.config'); + if (process.env.NEXT_RUNTIME === "edge") { + await import("../sentry.edge.config"); } }