Reduced logging

pull/209/head
M66B 2 years ago
parent 724e728422
commit 650381b96f

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

Loading…
Cancel
Save