mirror of https://github.com/M66B/FairEmail.git
Improved OAuth error message
This commit is contained in:
parent
86b0fceecd
commit
d603e00d35
|
@ -206,9 +206,9 @@ public class MailService implements AutoCloseable {
|
|||
}
|
||||
|
||||
throw new IllegalArgumentException("Account not found");
|
||||
} catch (Throwable ex1) {
|
||||
} catch (Exception ex1) {
|
||||
Log.e(ex1);
|
||||
throw ex;
|
||||
throw new AuthenticationFailedException(ex.getMessage(), ex1);
|
||||
}
|
||||
else
|
||||
throw ex;
|
||||
|
|
Loading…
Reference in New Issue