This commit is contained in:
Christopher Cookman 2024-05-21 19:29:18 -06:00
parent 323cf185e5
commit d64e402e16
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

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