stages/email: fix email task not falling back to use_global_settings

This commit is contained in:
Jens Langhammer
2021-01-17 23:31:58 +01:00
parent 8ffa3e5885
commit 204792b750
2 changed files with 3 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class NotificationTransport(models.Model):
try:
# pyright: reportGeneralTypeIssues=false
return send_mail(mail.__dict__) # pylint: disable=no-value-for-parameter
except (SMTPException, ConnectionError) as exc:
except (SMTPException, ConnectionError, OSError) as exc:
raise NotificationTransportError from exc
def __str__(self) -> str: