|
|
@ -212,9 +212,10 @@ 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) {
|
|
|
|
Throwable cause = holder.error.getCause();
|
|
|
|
Log.e(new Throwable("Token refresh failed" +
|
|
|
|
String msg = (cause == null ? null : cause.getMessage());
|
|
|
|
" id=" + id +
|
|
|
|
Log.e(new Throwable("Token refresh failed id=" + id + " error=" + msg, holder.error));
|
|
|
|
" error=" + holder.error.getMessage(),
|
|
|
|
|
|
|
|
holder.error));
|
|
|
|
throw holder.error;
|
|
|
|
throw holder.error;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception ex) {
|
|
|
|
} catch (Exception ex) {
|
|
|
|