From 6221a580626e7b3f220522a93ed1886860140148 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Jan 2024 14:21:30 +0000 Subject: [PATCH] update influx err msg --- src/server/server.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/server.ts b/src/server/server.ts index 4424378..2cf3b9d 100644 --- a/src/server/server.ts +++ b/src/server/server.ts @@ -97,7 +97,10 @@ export default class Server { .timestamp(response.timestamp) ); } catch (err) { - logger.warn(`Failed to write ping to influxdb`, err); + logger.warn( + `Failed to write point to Influx for ${this.getName()} - ${this.getIP()}`, + err + ); } return Promise.resolve(response);