mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-17 21:32:36 +01:00
* nit * minimal * config * not too big a change * k * update * update web push * node options * k * update config * attempt fix
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
import * as Sentry from "@sentry/nextjs";
|
|
|
|
if (process.env.NEXT_PUBLIC_SENTRY_DSN) {
|
|
Sentry.init({
|
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
|
|
|
// Capture unhandled exceptions and performance data
|
|
enableTracing: true,
|
|
integrations: [],
|
|
tracesSampleRate: 0.1,
|
|
});
|
|
}
|