Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/mail/models/fetchmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def fetch_mail(self, raise_exception=True):
try:
imap_server.close()
imap_server.logout()
except OSError:
except (OSError, IMAP4.abort):
_logger.warning('Failed to properly finish imap connection: %s.', server.name, exc_info=True)
elif connection_type == 'pop':
try:
Expand Down