From d2d6ac8ab6cc1181049f11b8c2a37d1810d2571b Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 8 Jun 2022 15:04:04 +0200 Subject: [PATCH] Improved POP3 auth exception --- app/src/main/java/com/sun/mail/pop3/POP3Store.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/sun/mail/pop3/POP3Store.java b/app/src/main/java/com/sun/mail/pop3/POP3Store.java index dcc8887bd7..b642bdc8ec 100644 --- a/app/src/main/java/com/sun/mail/pop3/POP3Store.java +++ b/app/src/main/java/com/sun/mail/pop3/POP3Store.java @@ -190,7 +190,7 @@ public class POP3Store extends Store { try { port = getPort(null); } catch (EOFException eex) { - throw new AuthenticationFailedException(eex.getMessage()); + throw new AuthenticationFailedException(eex.getMessage(), eex); } catch (SocketConnectException scex) { throw new MailConnectException(scex); } catch (IOException ioex) {