From af230ba5fb9117e8d7b66652ce897a1819d46805 Mon Sep 17 00:00:00 2001 From: Dj Isaac Date: Wed, 9 Oct 2024 19:50:57 -0500 Subject: [PATCH] Use `msg` rather than parse it out of the heartbeat Co-authored-by: Frank Elsinga --- 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 32b1d73d5..6bacbd0fe 100644 --- a/server/notification-providers/discord.js +++ b/server/notification-providers/discord.js @@ -44,7 +44,7 @@ class Discord extends NotificationProvider { }, { name: "Error", - value: heartbeatJSON["msg"] == null ? "N/A" : heartbeatJSON["msg"], + value: msg, }, ];