From 51b03fc2b14d5fe813ecc844e4eb5d1b330e5eb4 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 8 May 2017 23:11:00 +0000 Subject: [PATCH] This --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 3c68fbd0..e1c4cdaf 100644 --- a/index.js +++ b/index.js @@ -122,3 +122,5 @@ client.on('ready', () => { }); client.login(TOKEN); + +process.on('unhandledRejection', console.error);