forgot to catch an error
This commit is contained in:
parent
6aa0640a90
commit
c4cc7f72cc
1 changed files with 5 additions and 0 deletions
|
@ -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!');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue