From 8ec7e56a25295f874a1ac5d14bf1727da98777e4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Feb 2024 10:04:27 +0000 Subject: [PATCH] Use baseexception --- webapp_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_utils.py b/webapp_utils.py index b16bc51cf..46d110791 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -406,7 +406,7 @@ def update_avatar_image_cache(signing_priv_key_pem: str, print('WARN: update_avatar_image_cache ' + 'avatar image binary not recognized ' + actor + ' ' + str(media_binary[0:20])) - except Exception as ex: + except BaseException as ex: print('EX: Failed to download avatar image: ' + str(avatar_url) + ' ' + str(ex)) prof = 'https://www.w3.org/ns/activitystreams'