diff --git a/src/v0/destinations/campaign_manager/networkHandler.js b/src/v0/destinations/campaign_manager/networkHandler.js index a1fa24835c..d7b342afd6 100644 --- a/src/v0/destinations/campaign_manager/networkHandler.js +++ b/src/v0/destinations/campaign_manager/networkHandler.js @@ -54,7 +54,7 @@ const responseHandler = (destinationResponse) => { if (checkIfFailuresAreRetryable(response)) { throw new RetryableError( `Campaign Manager: Retrying during CAMPAIGN_MANAGER response transformation`, - 500, + status, destinationResponse, ); } else { @@ -76,7 +76,7 @@ const responseHandler = (destinationResponse) => { throw new NetworkError( `Campaign Manager: ${response.error?.message} during CAMPAIGN_MANAGER response transformation 3`, - 500, + status, { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), },