log error

This commit is contained in:
loicbersier 2019-07-17 01:18:20 +02:00
parent 95280becac
commit 2521f18778

View file

@ -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.');
});
}