diff --git a/src/client/components/ModerationManager.ts b/src/client/components/ModerationManager.ts index 4a63bc8..fe68208 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 ${infraction.id}:\n${e.stack || e}\n${inspect(e.errInfo)}`); + this.#logger.error(`Error during update of infraction ${infraction.id}:\n${e.stack || e}\n${inspect(e.errInfo, { depth: 25 })}`); }); const cb = this.#callbacks.get(infraction.id); if (cb)