Sanitize messaging exception socket is closed

pull/169/head
M66B 5 years ago
parent 5b8dbb8bc8
commit 61a6d6d322

@ -503,7 +503,8 @@ public class Log {
ex.getCause() instanceof ConnectionException &&
ex.getCause().getMessage() != null &&
(ex.getCause().getMessage().contains("Read error") ||
ex.getCause().getMessage().contains("Write error")))
ex.getCause().getMessage().contains("Write error") ||
ex.getCause().getMessage().contains("Socket is closed")))
return null;
// javax.mail.MessagingException: AU3 BAD User is authenticated but not connected.;

Loading…
Cancel
Save