From 10099060161f1d4c6b2175538a962125f58efd3c Mon Sep 17 00:00:00 2001 From: dragonfire535 Date: Sun, 12 Mar 2017 10:42:04 -0400 Subject: [PATCH] Make the Promise Rejection catcher error less nuts --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 45ea5f07..0b6e48b7 100644 --- a/index.js +++ b/index.js @@ -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); \ No newline at end of file