From 6f69f9c01af26c469ed9b79e7dd5d559b8f8eced Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 30 Jan 2024 15:33:46 +0200 Subject: [PATCH] inspect depth --- src/client/components/ModerationManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)