Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): Limit Sentry console capture to warnings and errors (#11223)

Reinier van der Leerefd37b7a36f9
diff --git a/autogpt_platform/frontend/sentry.edge.config.ts b/autogpt_platform/frontend/sentry.edge.config.ts
index a07ef139b5..dbf642f521 100644
--- a/autogpt_platform/frontend/sentry.edge.config.ts
+++ b/autogpt_platform/frontend/sentry.edge.config.ts
@@ -33,7 +33,7 @@ Sentry.init({
enableLogs: true,
integrations: [
- Sentry.captureConsoleIntegration(),
+ Sentry.captureConsoleIntegration({ levels: ["fatal", "error", "warn"] }),
Sentry.extraErrorDataIntegration(),
],
});