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 } }
|
{ $set: { _callbacked: true } }
|
||||||
).catch((e) =>
|
).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);
|
const cb = this.#callbacks.get(infraction.id);
|
||||||
if (cb)
|
if (cb)
|
||||||
|
Loading…
Reference in New Issue
Block a user