diff --git a/ubuntutools/requestsync/mail.py b/ubuntutools/requestsync/mail.py index dce0cac..70801f3 100644 --- a/ubuntutools/requestsync/mail.py +++ b/ubuntutools/requestsync/mail.py @@ -215,3 +215,6 @@ Content-Type: text/plain; charset=UTF-8 '[Enter] to retry. Press [Ctrl-C] to abort now.') else: return + except smtplib.SMTPServerDisconnected: + Logger.error('Server disconnected while sending the mail.') + return