console error logging

This commit is contained in:
mmacierzanka committed 2021-06-21 19:58:48 +02:00
1 parent 6ec554df8f
commit 71bbe359fd
1 file changed
+1
+1
View File
@@ -88,6 +88,7 @@ class Bot {
} }
else { else {
this.messages.system.send('ERROR', { command: cmdMsg.command, user: m.member || undefined, error: e }, m.channel); this.messages.system.send('ERROR', { command: cmdMsg.command, user: m.member || undefined, error: e }, m.channel);
console.error(e);
} }
return; return;
} }