From ee1016523f28e7f09cc09dbbb5203ab0f87c895f Mon Sep 17 00:00:00 2001 From: ravi-signal <99042880+ravi-signal@users.noreply.github.com> Date: Tue, 14 Jan 2025 08:45:22 -0600 Subject: [PATCH] Add request information to createPayPalOneTimePayment failure log --- .../textsecuregcm/subscriptions/BraintreeGraphqlClient.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClient.java index 4a3413eb2..5f6459f76 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClient.java @@ -94,8 +94,9 @@ CompletableFuture final CreatePayPalOneTimePaymentMutation.Data data = assertSuccessAndExtractDataFromApolloResponse(apolloResponse); if (data.createPayPalOneTimePayment == null) { logger.warn( - "createPayPalOneTimePayment requestId={} did not have any errors but data was null. response={}", - apolloResponse.extensions.getOrDefault("requestId", ""), httpResponse.body()); + "createPayPalOneTimePayment requestId={} currency={} amount={} did not have any errors but data was null. response={}", + apolloResponse.extensions.getOrDefault("requestId", ""), + currency, amount, httpResponse.body()); throw new ServiceUnavailableException(); } return data.createPayPalOneTimePayment;