From 019b949a10b24c2b2c8e04a1f2a0860410b79032 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 14:50:10 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- server/model/monitor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 7b93e6542..600878936 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -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;