Reduced logging

This commit is contained in:
M66B 2022-07-26 23:35:09 +02:00
parent 724e728422
commit 650381b96f
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ public class ServiceAuthenticator extends Authenticator {
} catch (Throwable ex) {
if (ex.getCause() instanceof InterruptedException)
Log.i(ex);
else if (ex.getMessage() != null && ex.getMessage().startsWith("OAuth refresh"))
Log.w(ex);
else
Log.e(ex);
}