From 1aab1df8d793c23dfedc2fe0895cf71f81a3f0fa Mon Sep 17 00:00:00 2001 From: Axe Date: Mon, 4 Dec 2023 15:08:10 +0000 Subject: [PATCH] add instance name to report --- src/services/notificationJobs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/notificationJobs.js b/src/services/notificationJobs.js index db61cf35..72cf6bbf 100644 --- a/src/services/notificationJobs.js +++ b/src/services/notificationJobs.js @@ -16,7 +16,7 @@ class NotificationJobs { async sendReport () { const healthcheck = await this.app.healthReport.fullReport(); if(!healthcheck.healthy) { - const healthData = `Healthy: ${healthcheck.healthy}\nChainId: ${healthcheck.network.chainId}\nReasons: ${healthcheck.reasons.join('\n')}`; + const healthData = `Instance Name: ${this.app.config.INSTANCE_NAME}\nHealthy: ${healthcheck.healthy}\nChainId: ${healthcheck.network.chainId}\nReasons: ${healthcheck.reasons.join('\n')}`; this.app.notifier.sendNotification(healthData); } const currentTime = Date.now();