Skip to content

Commit

Permalink
add specific error log
Browse files Browse the repository at this point in the history
  • Loading branch information
SushilMallRC committed Nov 27, 2024
1 parent 75d59d6 commit 721ff9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/netsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ async function createContact({ user, authHeader, phoneNumber, newContactName, ne
name: newContactName
},
returnMessage: {
message: `Error in creating Contact.`,
message: netSuiteErrorDetails(error, "Error in Creating Contact"),
messageType: 'danger',
ttl: 5000
}
Expand Down Expand Up @@ -717,7 +717,7 @@ async function createContact({ user, authHeader, phoneNumber, newContactName, ne
name: newContactName
},
returnMessage: {
message: `Error in creating Customer.`,
message: netSuiteErrorDetails(error, "Error in Creating Customer"),
messageType: 'danger',
ttl: 5000
}
Expand Down

0 comments on commit 721ff9a

Please sign in to comment.