mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 22:09:16 +01:00
refactor(api): 🎨 Refactor request parser
This commit is contained in:
parent
3247e90131
commit
1b7b71eaec
5 changed files with 92 additions and 79 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue