From 1f281e8439000c8ece80a59f2119afc22742f8ad Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Tue, 13 Aug 2024 11:03:15 -0700 Subject: [PATCH] IO-2874 InsertBill Full Error Log Signed-off-by: Allan Carr --- server/accounting/qbo/qbo-payables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/accounting/qbo/qbo-payables.js b/server/accounting/qbo/qbo-payables.js index 2be6e4c12..27523c78e 100644 --- a/server/accounting/qbo/qbo-payables.js +++ b/server/accounting/qbo/qbo-payables.js @@ -273,7 +273,7 @@ async function InsertBill(oauthClient, qbo_realmId, req, bill, vendor, bodyshop) return result && result.json && result.json.Bill; } catch (error) { logger.log("qbo-payables-error", "DEBUG", req.user.email, bill.id, { - error: (error && error.authResponse && error.authResponse.body) || (error && error.message), + error: error, //(error && error.authResponse && error.authResponse.body) || (error && error.message), method: "InsertBill" }); throw error;