mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Small improvement
This commit is contained in:
parent
5e6f2e4599
commit
ae9fe0861c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue