tomodachi-share/src/instrumentation.ts
trafficlunar df7901b525 feat: sentry
also:
- update privacy policy
- fix space missing in terms of service
- some image viewer style changes
2026-02-21 18:59:31 +00:00

9 lines
231 B
TypeScript

import * as Sentry from "@sentry/nextjs";
export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await import("../sentry.server.config");
}
}
export const onRequestError = Sentry.captureRequestError;