Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/utils/sentry.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import Sentry from "@sentry/node";
import dotenv from "dotenv";
dotenv.config();

Sentry.init({
dsn: "https://a16510e790a3a1bd2421ecb554f91aef@o4510087561412608.ingest.us.sentry.io/4510103140106240",
dsn: (process.env.SENTRY_DSN || ''),
// Setting this option to true will send default PII data to Sentry.
// For example, automatic IP address collection on events
sendDefaultPii: true,
Expand Down
Loading