Skip to content

Commit

Permalink
fix: Enable sentry only in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Oct 4, 2024
1 parent 232cd10 commit d9c8d1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { getOSName, PLATFORM } from './helpers';
// Initialize Sentry
Sentry.init({
dsn: 'https://47fa1e9f4bfed88d2a4b2bdd7b3d48b6@o4504361728212992.ingest.us.sentry.io/4507924285161472',
enabled: import.meta.env.PROD,
});

// Initialize logger
Expand Down

0 comments on commit d9c8d1c

Please sign in to comment.