core: handle all exceptions for applications listing

closes #2382

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-02-26 16:08:38 +01:00
parent cebe44403c
commit 2f8dbe9b97
1 changed files with 2 additions and 1 deletions

View File

@ -297,7 +297,8 @@ class Application(PolicyBindingModel):
user = user._wrapped user = user._wrapped
try: try:
return url % user.__dict__ 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) LOGGER.warning("Failed to format launch url", exc=exc)
return url return url
return url return url