Improved OAuth error message

pull/162/head
M66B 5 years ago
parent 86b0fceecd
commit d603e00d35

@ -206,9 +206,9 @@ public class MailService implements AutoCloseable {
} }
throw new IllegalArgumentException("Account not found"); throw new IllegalArgumentException("Account not found");
} catch (Throwable ex1) { } catch (Exception ex1) {
Log.e(ex1); Log.e(ex1);
throw ex; throw new AuthenticationFailedException(ex.getMessage(), ex1);
} }
else else
throw ex; throw ex;

Loading…
Cancel
Save