Skip to content

Commit 821b918

Browse files
committed
small change to http handler return
1 parent ff78b31 commit 821b918

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/v3/serverOnly/httpServer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,9 @@ export class HttpServer {
207207
return reply.empty(500);
208208
} finally {
209209
this.collectMetrics(req, res, startTime);
210-
return;
211210
}
211+
212+
return reply.empty(501);
212213
});
213214

214215
this.server.on("clientError", (_, socket) => {

0 commit comments

Comments
 (0)