Skip to content

Commit

Permalink
chore: code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 committed Feb 5, 2024
1 parent cd00df0 commit 8070f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v0/destinations/hs/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 8070f09

Please sign in to comment.