diff --git a/server/model/monitor.js b/server/model/monitor.js index f7cbff303..8958e3d80 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -938,7 +938,11 @@ class Monitor extends BeanModel { } catch (error) { - bean.msg = error.message; + if (error?.name === "CanceledError") { + bean.msg = `timeout by AbortSignal (${this.timeout}s)`; + } else { + bean.msg = error.message; + } // If UP come in here, it must be upside down mode // Just reset the retries