From d64e402e162800f4a136d518308ad76293887895 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 21 May 2024 19:29:18 -0600 Subject: [PATCH] WHOOPS --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6f0dbf1..82c1933 100644 --- a/index.js +++ b/index.js @@ -349,7 +349,7 @@ xmpp.on("stanza", (stanza) => { } }).then((res) => { if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} NTFY sent for ${config.ntfy.prefix}${fromChannel} with status ${res.status} ${res.statusText}`); - if (res.status !== 200) console.log(`${colors.red("[ERROR]")} NTFY failed for ${config.ntfy.prefix}${fromChannel} with status ${res.status} ${res.statusText}` + if (res.status !== 200) console.log(`${colors.red("[ERROR]")} NTFY failed for ${config.ntfy.prefix}${fromChannel} with status ${res.status} ${res.statusText}`); }).catch((err) => {