mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 07:36:31 +02:00
Improved OAuth error message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user