From f32441e2f65827b9263a13f5692fdf247d9a9f61 Mon Sep 17 00:00:00 2001 From: zImPatrick <23613354+zImPatrick@users.noreply.github.com> Date: Mon, 12 Dec 2022 17:58:11 +0100 Subject: [PATCH] fix discord notification not sending when docker container is down --- server/notification-providers/discord.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/discord.js b/server/notification-providers/discord.js index 28ead7b7a..ac5c8ae84 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -64,7 +64,7 @@ class Discord extends NotificationProvider { }, { name: "Error", - value: heartbeatJSON["msg"], + value: heartbeatJSON["msg"] == null ? "N/A" : heartbeatJSON["msg"], }, ], }],