Merge pull request #1475 from codeflash-ai/enable-sentry

Update sentry.py
This commit is contained in:
Kevin Turcios 2025-02-11 16:06:51 -05:00 committed by GitHub
commit ec7a55de4a

View file

@ -5,7 +5,6 @@ from sentry_sdk.integrations.logging import LoggingIntegration
def init_sentry(enabled: bool = False, exclude_errors: bool = False):
return
if enabled:
sentry_logging = LoggingIntegration(
level=logging.INFO, # Capture info and above as breadcrumbs