Ошибки не полностью писались

This commit is contained in:
JonnyBro 2022-10-01 13:34:29 +05:00
parent 36b157cac5
commit fe2e598c7b

View file

@ -20,4 +20,4 @@ client.on("disconnect", () => client.logger.log("Bot is disconnecting...", "warn
.on("reconnecting", () => client.logger.log("Bot reconnecting...", "warn"))
.on("warn", warn => client.logger.log(warn, "warn"))
.on("error", e => client.logger.log(`${e.message}\n${e.stack}`, "error"));
process.on("unhandledRejection", e => client.logger.log(e, "error"));
process.on("unhandledRejection", e => console.log(e));