From 8070f092208f3f5431fab08828cf330939fa862d Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 5 Feb 2024 13:34:52 +0530 Subject: [PATCH] chore: code review changes --- src/v0/destinations/hs/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index f4e520b594..66a7023ee4 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -499,6 +499,7 @@ const extractIDsForSearchAPI = (inputs) => { /** * Returns hubspot records + * Ref : https://developers.hubspot.com/docs/api/crm/search * @param {*} data * @param {*} requestOptions * @param {*} objectType @@ -544,7 +545,7 @@ const performHubSpotSearch = async ( if (processedResponse.status !== 200) { throw new NetworkError( - `rETL - Error during searching object record. ${processedResponse.response?.message}`, + `rETL - Error during searching object record. ${JSON.stringify(processedResponse.response?.message)}`, processedResponse.status, { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(processedResponse.status),