|
|
@ -212,10 +212,9 @@ public class ServiceAuthenticator extends Authenticator {
|
|
|
|
Log.i("OAuth refreshed user=" + id + ":" + user);
|
|
|
|
Log.i("OAuth refreshed user=" + id + ":" + user);
|
|
|
|
|
|
|
|
|
|
|
|
if (holder.error != null) {
|
|
|
|
if (holder.error != null) {
|
|
|
|
String msg = (holder.error.getCause() == null ? null : holder.error.getCause().getMessage());
|
|
|
|
Throwable cause = holder.error.getCause();
|
|
|
|
Log.e(new Throwable("Token refresh failed id=" +
|
|
|
|
String msg = (cause == null ? null : cause.getMessage());
|
|
|
|
id + (msg == null ? "" : " error=" + msg),
|
|
|
|
Log.e(new Throwable("Token refresh failed id=" + id + " error=" + msg, holder.error));
|
|
|
|
holder.error));
|
|
|
|
|
|
|
|
throw holder.error;
|
|
|
|
throw holder.error;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception ex) {
|
|
|
|
} catch (Exception ex) {
|
|
|
|