Archived
console error logging
This commit is contained in:
1 parent
6ec554df8f
commit
71bbe359fd
1 file changed
+1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user