mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-19 20:18:05 +01:00
Marshal HttpResponseException in GooglePlayBillingManager
This commit is contained in:
@@ -359,8 +359,10 @@ public class GooglePlayBillingManager implements SubscriptionPaymentProcessor {
|
||||
? ((GoogleJsonResponseException) e).getDetails().toString()
|
||||
: "";
|
||||
|
||||
logger.warn("Unexpected HTTP status code {} from androidpublisher: {}", e.getStatusCode(), details);
|
||||
throw new UncheckedIOException(e);
|
||||
final String message =
|
||||
String.format("Unexpected HTTP status code %s from androidpublisher: %s", e.getStatusCode(), details);
|
||||
logger.warn(message);
|
||||
throw new UncheckedIOException(new IOException(message));
|
||||
} catch (IOException e) {
|
||||
throw new UncheckedIOException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user