feat: allow logs

This commit is contained in:
Nevo David 2025-07-30 21:33:23 +07:00
parent cb09a505d8
commit 59b6419229
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export const initializeSentry = (appName: string, allowLogs = false) => {
...allowLogs ? [Sentry.consoleLoggingIntegration({ levels: ['log', 'error', 'warn'] })] : [],
],
tracesSampleRate: process.env.NODE_ENV === 'development' ? 1.0 : 0.3,
enableLogs: true,
enableLogs: allowLogs,
});
} catch (err) {}
return true;