diff --git a/api/src/routes/protected/challenge.ts b/api/src/routes/protected/challenge.ts index 0cde3eb3ffa..2624536b60c 100644 --- a/api/src/routes/protected/challenge.ts +++ b/api/src/routes/protected/challenge.ts @@ -291,6 +291,7 @@ export const challengeRoutes: FastifyPluginCallbackTypebox = ( type: 'error', message: 'That does not appear to be a valid challenge submission.' }); + } else { fastify.errorHandler(error, req, reply); } }