Add improved logging to export procedures.

This commit is contained in:
Patrick Fic
2022-05-20 10:31:31 -07:00
parent f3ee20e89d
commit 5832a5f529
6 changed files with 8 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ exports.default = async (req, res) => {
"ERROR",
req.user.email,
req.body.billsToQuery,
{ error }
{ error: error.message, stack: error.stack }
);
res.status(400).send(JSON.stringify(error));
}