From 2f8dbe9b9780096bc427dd331833e3b733ba6191 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 26 Feb 2022 16:08:38 +0100 Subject: [PATCH] core: handle all exceptions for applications listing closes #2382 Signed-off-by: Jens Langhammer --- authentik/core/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentik/core/models.py b/authentik/core/models.py index baa09fdf2..4bc228059 100644 --- a/authentik/core/models.py +++ b/authentik/core/models.py @@ -297,7 +297,8 @@ class Application(PolicyBindingModel): user = user._wrapped try: return url % user.__dict__ - except (ValueError, TypeError, LookupError) as exc: + # pylint: disable=broad-except + except Exception as exc: LOGGER.warning("Failed to format launch url", exc=exc) return url return url