From bc6aef7af2ba3de975a0bd2d947acc5ab5749651 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 18 May 2021 11:29:36 +0200 Subject: [PATCH] lib: improve sentry integration Signed-off-by: Jens Langhammer --- authentik/lib/sentry.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/authentik/lib/sentry.py b/authentik/lib/sentry.py index 7ef05158f..f3f10b289 100644 --- a/authentik/lib/sentry.py +++ b/authentik/lib/sentry.py @@ -89,6 +89,13 @@ def before_send(event: dict, hint: dict) -> Optional[dict]: if isinstance(exc_value, ignored_classes): return None if "logger" in event: - if event["logger"] in ["dbbackup", "botocore"]: + if event["logger"] in [ + "dbbackup", + "botocore", + "kombu", + "asyncio", + "multiprocessing", + "django_redis", + ]: return None return event