Handle drop connection on searching for correlation ID

This commit is contained in:
M66B 2021-01-29 12:24:44 +01:00
parent ada1150ffd
commit 89898123e7
1 changed files with 2 additions and 1 deletions

View File

@ -1563,8 +1563,9 @@ class Core {
new AndTerm(
new SentDateTerm(ComparisonTerm.GE, new Date()),
new HeaderTerm(MessageHelper.HEADER_CORRELATION_ID, message.msgid)));
} catch (MessagingException ex) {
} catch (Throwable ex) {
Log.e(ex);
// Seznam: Jakarta Mail Exception: java.io.IOException: Connection dropped by server?
}
if (imessages != null && imessages.length == 1) {