Still trying to catch connection error

I guess I was catching the wrong TYPE of connection error? annoying.
This commit is contained in:
Mouse Reeve 2021-03-15 16:23:04 -07:00
parent 0550918e5c
commit c50ca9f951

View file

@ -461,7 +461,7 @@ def broadcast_task(sender_id, activity, recipients):
for recipient in recipients:
try:
sign_and_send(sender, activity, recipient)
except (HTTPError, SSLError, ConnectionError):
except (HTTPError, SSLError, requests.exceptions.ConnectionError):
pass