From 626c2a2fa62c5b24d2e64bb7d8d0031588f06873 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Tue, 5 Dec 2023 20:28:48 +0800 Subject: [PATCH] style: simplified error message --- src/server/model/monitor/provider/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/model/monitor/provider/http.ts b/src/server/model/monitor/provider/http.ts index 2c80af4..5b3d7ef 100644 --- a/src/server/model/monitor/provider/http.ts +++ b/src/server/model/monitor/provider/http.ts @@ -108,7 +108,7 @@ export const http: MonitorProvider<{ return diff; } catch (err) { - logger.error('run monitor http error', err); + logger.error('run monitor http error', String(err)); return -1; } },