Merge pull request #748 from mouse-reeve/connection-error

Still trying to catch connection error
This commit is contained in:
Mouse Reeve
2021-03-15 17:03:47 -07:00
committed by GitHub

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