Closed raunakrajadh closed 5 months ago
I disagree with adding "error handling" like this. If your code fails, the process should terminate and you should fix the error or start the bot up again. Tools like pm2 run nodemon by default anyway. This will make people ignore critical errors in their bots.
Added error handling to prevent bot from going offline.