1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-03 10:16:45 +00:00

Reduced logging

This commit is contained in:
M66B 2021-01-30 16:10:33 +01:00
parent 97084bfc35
commit b2af43438e

View file

@ -74,7 +74,10 @@ public class ServiceAuthenticator extends Authenticator {
try {
token = refreshToken(false);
} catch (Throwable ex) {
Log.e(ex);
if (ex.getCause() instanceof InterruptedException)
Log.w(ex);
else
Log.e(ex);
}
Log.i(user + " returning " + (auth == AUTH_TYPE_PASSWORD ? "password" : "token"));