diff options
Diffstat (limited to 'aleebot.js')
| -rw-r--r-- | aleebot.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -203,6 +203,9 @@ client.on("message", function(message){ } }); + process.on('unhandledRejection', function(err, p) { + console.log("[ERROR | UNCAUGHT PROMISE] " + err.stack); +}); client.login (config.token).catch(function() { console.log("[ERROR] Login failed. Please contact Alee14#9928 or email him at alee14498@gmail.com."); |
