Authentication exception with I/O error is recoverable

pull/183/head
M66B 4 years ago
parent 0112cd2b99
commit 0a53707ffa

@ -364,7 +364,8 @@ public class ServiceSend extends ServiceBase {
ex instanceof OutOfMemoryError ||
ex instanceof MessageRemovedException ||
ex instanceof FileNotFoundException ||
ex instanceof AuthenticationFailedException ||
(ex instanceof AuthenticationFailedException &&
!ConnectionHelper.isIoError(ex)) ||
ex instanceof SendFailedException ||
ex instanceof IllegalArgumentException) {
Log.w("Unrecoverable");

Loading…
Cancel
Save