- Disable NTFy errors for now

This commit is contained in:
Christopher Cookman 2024-05-12 01:54:42 -06:00
parent e3835c1122
commit e469f8d8a0
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -1136,7 +1136,7 @@ discord.on("guildDelete", (guild) => {
process.on("unhandledRejection", (error) => {
console.log(`${colors.red("[ERROR]")} Unhandled Rejection: ${error.message}`);
if (config.ntfy.enabled) {
if (false) {
fetch(config.ntfy.server, {
method: 'POST',
body: JSON.stringify({
@ -1156,7 +1156,7 @@ process.on("unhandledRejection", (error) => {
process.on("uncaughtException", (error) => {
console.log(`${colors.red("[ERROR]")} Uncaught Exception: ${error.message}\n${error.stack}`);
if (config.ntfy.enabled) {
if (false) {
fetch(config.ntfy.server, {
method: 'POST',
body: JSON.stringify({