aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--servo/tasks.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/servo/tasks.py b/servo/tasks.py
index 22786e0..d19f501 100644
--- a/servo/tasks.py
+++ b/servo/tasks.py
@@ -66,7 +66,10 @@ def apply_rules(event):
note.render_subject({'note': note})
note.save()
- note.send_mail(user)
+ try:
+ note.send_mail(user)
+ except Exception as e:
+ print('Sending email failed (%s)' % e)
if r['action'] == "send_sms":
number = 0