Skip to content

Commit

Permalink
log errors n stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Szedann committed Jan 22, 2024
1 parent 03240f5 commit dbfb95b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webserver/banshare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ const banModal = new Modal(
});
}
}
} catch {
} catch (error) {
console.error(error);
await interaction.reply({
content: `Couldn't ban <@${data.userId}>`,
ephemeral: true,
Expand Down

0 comments on commit dbfb95b

Please sign in to comment.