From b1cb74d35a072b5a8a45d5b433281c01793cf4a9 Mon Sep 17 00:00:00 2001 From: Sergei Borodin Date: Tue, 13 Aug 2024 14:49:32 +0200 Subject: [PATCH] feat: BI-3234 don't send WARN to sentry (#577) --- lib/dl_api_commons/dl_api_commons/sentry_config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dl_api_commons/dl_api_commons/sentry_config.py b/lib/dl_api_commons/dl_api_commons/sentry_config.py index 47ebbdbf2..f692d4a4c 100644 --- a/lib/dl_api_commons/dl_api_commons/sentry_config.py +++ b/lib/dl_api_commons/dl_api_commons/sentry_config.py @@ -1,4 +1,3 @@ -import logging from typing import ( Any, Optional, @@ -40,7 +39,7 @@ def configure_sentry(cfg: SentryConfig, extra_integrations: Sequence[Any] = ()) StdlibIntegration(), ModulesIntegration(), ArgvIntegration(), - LoggingIntegration(event_level=logging.WARNING), + LoggingIntegration(), ThreadingIntegration(), # # Custom *extra_integrations,