diff --git a/src/handlers/interactionErrorHandler.ts b/src/handlers/interactionErrorHandler.ts index b7dd344..9b769d2 100644 --- a/src/handlers/interactionErrorHandler.ts +++ b/src/handlers/interactionErrorHandler.ts @@ -63,6 +63,11 @@ export const handleError = async ( return; } + if (error.message === 'Unknown Interaction') { + logger.debug('Interaction has already been responded to or does no longer exist.'); + return; + } + logger.fatal(error, 'Unhandled error while awaiting or handling component interaction.'); return; }