Make the Promise Rejection catcher error less nuts

This commit is contained in:
dragonfire535
2017-03-12 10:42:04 -04:00
parent d410a4efb5
commit 1009906016
+1 -1
View File
@@ -191,7 +191,7 @@ client.once('ready', () => {
});
process.on('unhandledRejection', function(reason, p){
console.log("Possibly Unhandled Rejection at: Promise ", p, " reason: ", reason);
console.log("A Possibly Unhandled Rejection has Occurred.");
});
client.login(config.token);