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
commit 37dd661e49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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