mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(frontend): Limit Sentry console capture to warnings and errors (#11223)
Debug and info level messages are currently ending up in Sentry, polluting our issue feed. ### Changes 🏗️ - Limit Sentry console capture to warnings and worse ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - Trivial change, no test needed
This commit is contained in:
committed by
GitHub
parent
bb0b45d7f7
commit
efd37b7a36
@@ -33,7 +33,7 @@ Sentry.init({
|
||||
|
||||
enableLogs: true,
|
||||
integrations: [
|
||||
Sentry.captureConsoleIntegration(),
|
||||
Sentry.captureConsoleIntegration({ levels: ["fatal", "error", "warn"] }),
|
||||
Sentry.extraErrorDataIntegration(),
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user