forked from mirrors/bookwyrm
Still trying to catch connection error
I guess I was catching the wrong TYPE of connection error? annoying.
This commit is contained in:
parent
0550918e5c
commit
c50ca9f951
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ def broadcast_task(sender_id, activity, recipients):
|
||||||
for recipient in recipients:
|
for recipient in recipients:
|
||||||
try:
|
try:
|
||||||
sign_and_send(sender, activity, recipient)
|
sign_and_send(sender, activity, recipient)
|
||||||
except (HTTPError, SSLError, ConnectionError):
|
except (HTTPError, SSLError, requests.exceptions.ConnectionError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue