From 2521f18778cbdee0bb0f64b3339bf14d933bcb95 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jul 2019 01:18:20 +0200 Subject: [PATCH] log error --- commands/admin/tag.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/admin/tag.js b/commands/admin/tag.js index 73e4625..d8c3919 100644 --- a/commands/admin/tag.js +++ b/commands/admin/tag.js @@ -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.'); }); }