Skip to content

Commit

Permalink
update sentry dsn extension
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jan 23, 2025
1 parent 8ad9e73 commit 2884368
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/extension/src/content-scripts/content-scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import manifest from "../manifest.json";
import * as Sentry from "@sentry/browser";

Sentry.init({
dsn: "https://ab29c6e64d65418cb3b9f133dc601c23@o1323226.ingest.sentry.io/4504632450023424",
dsn: "https://4ce54db1095b48ab8688e701d7cc8301@o1323226.ingest.us.sentry.io/4504615445725184",
tracesSampleRate: 0.5,
// Disable conflicting integrations in content scripts
autoSessionTracking: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ import { SignSvmTxPage } from "pages/sign/svm";
import * as Sentry from "@sentry/browser";

Sentry.init({
dsn: "https://ab29c6e64d65418cb3b9f133dc601c23@o1323226.ingest.sentry.io/4504632450023424",
dsn: "https://4ce54db1095b48ab8688e701d7cc8301@o1323226.ingest.us.sentry.io/4504615445725184",
tracesSampleRate: 0.5,
initialScope: {
tags: { context: "popup" },
Expand Down
3 changes: 2 additions & 1 deletion apps/extension/src/service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ try {
}

startHeartbeat();

Sentry.init({
dsn: "https://ab29c6e64d65418cb3b9f133dc601c23@o1323226.ingest.sentry.io/4504632450023424",
dsn: "https://4ce54db1095b48ab8688e701d7cc8301@o1323226.ingest.us.sentry.io/4504615445725184",
tracesSampleRate: 0.5,
integrations: [
new CaptureConsoleIntegration({ levels: ["error"] }), // Capture console.errors
Expand Down

0 comments on commit 2884368

Please sign in to comment.