style: simplified error message

This commit is contained in:
moonrailgun 2023-12-05 20:28:48 +08:00
parent 987c09be2f
commit 626c2a2fa6

View File

@ -108,7 +108,7 @@ export const http: MonitorProvider<{
return diff; return diff;
} catch (err) { } catch (err) {
logger.error('run monitor http error', err); logger.error('run monitor http error', String(err));
return -1; return -1;
} }
}, },