forked from Galactic/galactic-bot
more details in error log
This commit is contained in:
parent
f08879a19d
commit
bf3c218094
@ -636,7 +636,7 @@ class ModerationManager implements Initialisable
|
||||
{ $set: { _callbacked: true } }
|
||||
).catch((e) =>
|
||||
{
|
||||
this.#logger.error(`Error during update of infraction:\n${e.stack || e}`);
|
||||
this.#logger.error(`Error during update of infraction ${infraction.id}:\n${e.stack || e}\n${e.errInfo}`);
|
||||
});
|
||||
const cb = this.#callbacks.get(infraction.id);
|
||||
if (cb)
|
||||
|
Loading…
Reference in New Issue
Block a user