This commit is contained in:
Isaac 2022-10-31 15:36:35 +00:00
parent b61b3dd2b1
commit d10965d541
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -20,7 +20,7 @@ module.exports = class extends Listener {
}) {
const ref = require('crypto').randomUUID();
this.client.log.error.buttons(ref);
this.client.log.error.buttons(`"${button.name}" button execution error:`, error);
this.client.log.error.buttons(`"${button.id}" button execution error:`, error);
let locale = null;
if (interaction.guild) {
locale = (await this.client.prisma.guild.findUnique({