Skip to content

Commit

Permalink
add instance name to report
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmachado committed Dec 4, 2023
1 parent 30318cc commit 1aab1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/notificationJobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1aab1df

Please sign in to comment.