Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
328 B ยท 13 lines
TypeScript
1234567891011121314import * 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 === "edge") { await import("../sentry.edge.config"); }}
export const onRequestError = Sentry.captureRequestError;