Use baseexception

main
Bob Mottram 2024-02-07 10:04:27 +00:00
parent c3e77ab909
commit 8ec7e56a25
1 changed files with 1 additions and 1 deletions

View File

@ -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'