diff --git a/src/structure/interfaces/Infraction.js b/src/structure/interfaces/Infraction.js index 664070b..977fc57 100644 --- a/src/structure/interfaces/Infraction.js +++ b/src/structure/interfaces/Infraction.js @@ -143,7 +143,7 @@ class Infraction { if(this._mongoId) filter._id = this._mongoId; return this.client.storageManager.mongodb.infractions.updateOne(filter, this.json) .catch((error) => { - this.client.logger.error(`There was an issue saving infraction data to the database.\n${error.stack || error}`); + this.client.logger.error(`There was an issue saving infraction data to the database.\n${error.stack || error}\nInfraction data:\n${this.json}`); }); }