[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-12 14:50:10 +00:00 committed by GitHub
parent cb88631e0c
commit 019b949a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -940,8 +940,7 @@ class Monitor extends BeanModel {
// only retry if the error is NOT from JSON query evaluation
// JSON query errors have the message "JSON query does not pass..."
const isJsonQueryError =
typeof error.message === "string" &&
error.message.includes("JSON query does not pass");
typeof error.message === "string" && error.message.includes("JSON query does not pass");
if (isJsonQueryError) {
// Don't retry on JSON query failures, mark as DOWN immediately
@ -1984,7 +1983,6 @@ class Monitor extends BeanModel {
await this.checkCertExpiryNotifications(tlsInfo);
}
}
}
module.exports = Monitor;