Trying to fix broadcast connectionerror exceptions

This commit is contained in:
Mouse Reeve 2021-03-13 08:15:58 -08:00
parent 919b166241
commit 3edfcb7631

View file

@ -456,8 +456,8 @@ def broadcast_task(sender_id, activity, recipients):
for recipient in recipients:
try:
sign_and_send(sender, activity, recipient)
except (HTTPError, SSLError, ConnectionError) as e:
logger.exception(e)
except (HTTPError, SSLError, ConnectionError):
pass
def sign_and_send(sender, data, destination):