feature/IO-3096-GlobalNotifications - Checkpoint

This commit is contained in:
Dave Richer
2025-02-11 15:07:42 -05:00
parent 72305f91d8
commit 580641bae6
4 changed files with 24 additions and 20 deletions

View File

@@ -2,9 +2,10 @@ const scenarioParser = require("../utils/scenarioParser");
const handleJobsChange = async (req, res) => {
const { logger } = req;
scenarioParser(req, `req.body.event.new.id`).catch((e) =>
logger.log("notifications-error", "error", "notifications", null, { error: e?.message })
);
scenarioParser(req, `req.body.event.new.id`).catch((e) => {
console.dir(e);
logger.log("notifications-error", "error", "notifications", null, { error: e?.message });
});
return res.status(200).json({ message: "Job Notifications Event Handled." });
};
//