mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Small improvement
This commit is contained in:
@@ -320,13 +320,13 @@ public class EmailService implements AutoCloseable {
|
||||
am.invalidateAuthToken(type, password);
|
||||
String token = am.blockingGetAuthToken(account, getAuthTokenType(type), true);
|
||||
if (token == null)
|
||||
throw new AuthenticatorException("No token on refresh");
|
||||
throw new AuthenticatorException("No token on refresh for " + user);
|
||||
|
||||
connect(host, port, user, token, factory);
|
||||
return token;
|
||||
}
|
||||
|
||||
throw new AuthenticatorException("Account not found");
|
||||
throw new AuthenticatorException("Account not found for " + user);
|
||||
} catch (Exception ex1) {
|
||||
Log.e(ex1);
|
||||
throw new AuthenticationFailedException(ex.getMessage(), ex1);
|
||||
|
||||
Reference in New Issue
Block a user