mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 06:14:16 +02:00
feat(arabot): create custom error for catch
This commit is contained in:
parent
6979a0e79c
commit
c4075fe9f9
@ -77,6 +77,7 @@ export class NonVeganAccessButtonHandler extends InteractionHandler {
|
|||||||
ephemeral: true,
|
ephemeral: true,
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
this.container.logger.error(`Non Vegan Access Interaction: ${error}`);
|
||||||
await interaction.reply({
|
await interaction.reply({
|
||||||
content: errorMessage,
|
content: errorMessage,
|
||||||
ephemeral: true,
|
ephemeral: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user