refactor(api): 🎨 Refactor request parser

This commit is contained in:
Jesse Wierzbinski 2024-04-25 08:50:30 -10:00
parent 3247e90131
commit 1b7b71eaec
No known key found for this signature in database
5 changed files with 92 additions and 79 deletions

View file

@ -110,6 +110,7 @@ export const processRoute = async (
const parsedRequest = await new RequestParser(request.clone())
.toObject()
.catch(async (err) => {
console.log(err);
await logger.logError(
LogLevel.ERROR,
"Server.RouteRequestParser",