diff --git a/src/index.ts b/src/index.ts index a27058f..94c7259 100644 --- a/src/index.ts +++ b/src/index.ts @@ -144,11 +144,7 @@ export const node = set ) - await toResponse( - res, - // @ts-ignore - await app.handleError(request, new NotFoundError(), set) - ) + return void toResponse(res, response) }) server.listen(port, (port) => {