From c4cc7f72cc92756eec9403e6e526a2015f6742e3 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 12 Oct 2019 17:08:18 +0200 Subject: [PATCH] forgot to catch an error --- commands/fun/vidshittifier.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commands/fun/vidshittifier.js b/commands/fun/vidshittifier.js index d2704bc..3dc5d94 100644 --- a/commands/fun/vidshittifier.js +++ b/commands/fun/vidshittifier.js @@ -77,6 +77,11 @@ class vidshittifierCommand extends Command { loadingmsg.delete(); return message.channel.send('On no! an error just occured! perhaps the file is too big?'); }); + }) + .catch(err => { + console.error(err); + loadingmsg.delete(); + return message.channel.send('On no! an error just occured! Im gonna be honest with you, i don\'t know what caused it yet! but worry not! my owner wil look into it soon!'); }); } }