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