Skip to content

Commit

Permalink
change one error back to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Nov 26, 2024
1 parent 9eec5ad commit 1b51435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const defaultRouteHandler: RequestHandler<{}, {}, z.infer<typeof DefaultRouteReq
await handler(req, res, next);
} else {
logger.log('error', 'no step');
next(createError(400));
next(createError(500));
}
};

Expand Down

0 comments on commit 1b51435

Please sign in to comment.