summaryrefslogtreecommitdiff
path: root/chimere/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/forms.py')
-rw-r--r--chimere/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/forms.py b/chimere/forms.py
index b484118..5fa7ea9 100644
--- a/chimere/forms.py
+++ b/chimere/forms.py
@@ -115,7 +115,7 @@ def notifyByEmail(subject, body, user_list, sender=None):
headers=headers)
try:
email.send()
- except BadHeaderError:
+ except (BadHeaderError, ConnectionRefusedError):
return False
return True