Commit e0786f8d authored by Michal Čihař's avatar Michal Čihař

Merge branch 'master' into bootstrap

parents 4118f1cd 920cb755
......@@ -20,6 +20,7 @@
import os
import binascii
from smtplib import SMTPException
from django.db import models
from django.dispatch import receiver
......@@ -258,6 +259,8 @@ def send_notification_email(language, email, notification,
# Send it out
email.send(fail_silently=False)
except SMTPException as error:
weblate.logger.error('Failed to send email: %s', error)
finally:
django_translation.activate(cur_language)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment