Discord-MusicBot
Discord-MusicBot copied to clipboard
Fix debugging mode
Is your feature request related to a problem? Please describe. Sort of. When I tried debug mode errors did not log and it took me a while to fix that.
Describe the ideal solution For errors to log
Describe alternatives you've considered None.
Additional context Because I have no idea how to create a pull request I am creating an issue on telling you how I fixed it.
In ./lib/DiscordMusicBot.js
I did a change.
Line 105 [+] process.on("warning", (error) => console.log(error));
Line 106 [+] process.on("error", (error) => console.log(error));
(Sorry for poor formatting, again, I never opened a pull request so I don't know how to do this)
EDIT: Added a pull request, Im not sure If I did it correctly.