From 54d379b0d97eb020c6d29fa03705baa010b53a05 Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Tue, 26 Sep 2023 10:08:05 +0530 Subject: [PATCH] chore: code review changes --- .../google_adwords_enhanced_conversions/networkHandler.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index 26aaff8fe6..9fa0e9a3a4 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -113,7 +113,9 @@ const responseHandler = (destinationResponse) => { // Ref - https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto if (partialFailureError && partialFailureError.code !== 0) { throw new NetworkError( - `[Google Ads Offline Conversions]:: partialFailureError - ${partialFailureError?.message}`, + `[Google Ads Offline Conversions]:: partialFailureError - ${JSON.stringify( + partialFailureError, + )}`, 400, { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400),