From 721ff9a0aa838f826838544f20887891041f0a2b Mon Sep 17 00:00:00 2001 From: SushilMallRC Date: Wed, 27 Nov 2024 18:08:03 +0530 Subject: [PATCH] add specific error log --- src/adapters/netsuite/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }