forked from Galactic/galactic-bot
error log
This commit is contained in:
parent
6fa63d4445
commit
3f3da9e524
@ -422,7 +422,9 @@ class ModerationManager {
|
||||
await this.client.storageManager.mongodb.infractions.updateOne(
|
||||
{ id: i.id },
|
||||
{ _callbacked: true }
|
||||
).catch((e) => { }); //eslint-disable-line no-empty, no-unused-vars, no-empty-function
|
||||
).catch((e) => {
|
||||
this.logger.error(`Error during update of infraction:\n${e.stack || e}`);
|
||||
});
|
||||
this.callbacks.delete(i.id);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user