diff --git a/src/adapters/netsuite/index.js b/src/adapters/netsuite/index.js index 7d0c6d7a..7339b31b 100644 --- a/src/adapters/netsuite/index.js +++ b/src/adapters/netsuite/index.js @@ -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 } @@ -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 }