mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-28 14:23:02 +05:00
style: changed console to logger
This commit is contained in:
parent
11c1c5640e
commit
136d52a268
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ client.init();
|
|||
client
|
||||
.on("disconnect", () => logger.warn("Bot disconnected."))
|
||||
.on("reconnecting", () => logger.warn("Bot reconnecting..."))
|
||||
.on("warn", console.log)
|
||||
.on("error", console.log);
|
||||
.on("warn", logger.log)
|
||||
.on("error", logger.log);
|
||||
|
||||
process.on("unhandledRejection", console.log).on("uncaughtException", console.log);
|
||||
process.on("unhandledRejection", logger.log).on("uncaughtException", logger.log);
|
||||
|
|
Loading…
Reference in a new issue