Report connection failure details

This commit is contained in:
M66B 2020-07-05 16:31:09 +02:00
parent cf7cf13eec
commit bae08bccaf
1 changed files with 3 additions and 0 deletions

View File

@ -1014,6 +1014,9 @@ public class IMAPStore extends Store
p.disconnect();
} catch (Exception ex2) { }
p = null;
MessagingException failure = new MessagingException("connection failure", ex1);
eu.faircode.email.Log.w(failure);
throw failure;
}
if (p == null)