Skip to content

Commit

Permalink
Add missing await.
Browse files Browse the repository at this point in the history
  • Loading branch information
divmain committed Mar 10, 2021
1 parent 161787a commit 53a7a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export default async function build(
const nonStaticErrorPageSpan = staticCheckSpan.traceChild(
'check-static-error-page'
)
const nonStaticErrorPage = nonStaticErrorPageSpan.traceAsyncFn(
const nonStaticErrorPage = await nonStaticErrorPageSpan.traceAsyncFn(
async () =>
hasCustomErrorPage &&
(await hasCustomGetInitialProps(
Expand Down

0 comments on commit 53a7a31

Please sign in to comment.