log error
This commit is contained in:
parent
95280becac
commit
2521f18778
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class TagCommand extends Command {
|
|||
return message.channel.send(`tag have been set to ${args.trigger} : ${args.response}`);
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
return message.channel.send('Took too long to answer. didin\'t update anything.');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue