mirror of https://gitlab.com/bashrc2/epicyon
Use baseexception
parent
c3e77ab909
commit
8ec7e56a25
|
@ -406,7 +406,7 @@ def update_avatar_image_cache(signing_priv_key_pem: str,
|
||||||
print('WARN: update_avatar_image_cache ' +
|
print('WARN: update_avatar_image_cache ' +
|
||||||
'avatar image binary not recognized ' +
|
'avatar image binary not recognized ' +
|
||||||
actor + ' ' + str(media_binary[0:20]))
|
actor + ' ' + str(media_binary[0:20]))
|
||||||
except Exception as ex:
|
except BaseException as ex:
|
||||||
print('EX: Failed to download avatar image: ' +
|
print('EX: Failed to download avatar image: ' +
|
||||||
str(avatar_url) + ' ' + str(ex))
|
str(avatar_url) + ' ' + str(ex))
|
||||||
prof = 'https://www.w3.org/ns/activitystreams'
|
prof = 'https://www.w3.org/ns/activitystreams'
|
||||||
|
|
Loading…
Reference in New Issue