diff --git a/src/structure/client/ModerationManager.js b/src/structure/client/ModerationManager.js index 302caf4..faa7567 100644 --- a/src/structure/client/ModerationManager.js +++ b/src/structure/client/ModerationManager.js @@ -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;