warn instead of throw on failure to build check

This commit is contained in:
Alex Holliday
2026-02-12 19:42:58 +00:00
parent f600647ff0
commit 8089e71f96
@@ -86,7 +86,15 @@ class SuperSimpleQueueHelper {
// Step 3. Build check
const check = await this.checkService.buildCheck(status);
if (!check) {
this.logger.warn({
message: `No check could be built for monitor ${monitorId}`,
service: SERVICE_NAME,
method: "getMonitorJob",
details: { code: status.code, message: status.message },
});
return;
}
// Step 4 Add check to buffer
this.buffer.addToBuffer({ check });
// Step 4. Update monitor status