Reduced logging

pull/214/head
M66B 12 months ago
parent 3c5597ea76
commit 46b2abf4b4

@ -225,10 +225,9 @@ public class ServiceAuthenticator extends Authenticator {
if (holder.error == null)
Log.i("OAuth refreshed provider=" + id + ":" + getAuthTypeName(auth_type) + " user=" + user);
else {
Log.e(new Throwable("Token refresh failed" +
EntityLog.log(context, "Token refresh failed" +
" provider=" + id + ":" + getAuthTypeName(auth_type) +
" error=" + holder.error.getMessage(),
holder.error));
" error=" + Log.formatThrowable(holder.error, false));
throw holder.error;
}
} catch (Exception ex) {

Loading…
Cancel
Save