Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 11, 2023
1 parent ee7f42e commit f02b1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/build/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ createServerHandler({
}).then((nextHandler) => {
const server = http.createServer(async (req, res) => {
try {
await handler(req, res)
await nextHandler(req, res)
} catch (err) {
console.error(err);
res.statusCode = 500
Expand Down

0 comments on commit f02b1a5

Please sign in to comment.