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) => {