forked from Galactic/galactic-bot
inspect depth
This commit is contained in:
parent
9be9855910
commit
6f69f9c01a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user