mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
Ошибки не полностью писались
This commit is contained in:
parent
36b157cac5
commit
fe2e598c7b
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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));
|
Loading…
Reference in a new issue