diff --git a/src/client/components/ModerationManager.ts b/src/client/components/ModerationManager.ts index d6c4c14..b35dfbe 100644 --- a/src/client/components/ModerationManager.ts +++ b/src/client/components/ModerationManager.ts @@ -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)