Skip to content

Commit cebe972

Browse files
authored
Merge pull request #180 from lavr/fix/issue-179-catch-all-init-exceptions
Catch all exceptions during SMTP client initialization
2 parents d76321a + ce81c30 commit cebe972

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

emails/backend/smtp/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, parent, **kwargs):
2727

2828
try:
2929
self.initialize()
30-
except smtplib.SMTPAuthenticationError:
30+
except Exception:
3131
self.quit()
3232
raise
3333

0 commit comments

Comments
 (0)