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

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