Skip to content

Commit

Permalink
Handle Potential Promise Rejection in Serverless (#11882)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Apr 14, 2020
1 parent d1b987f commit b1aa594
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const nextServerlessLoader: loader.Loader = function() {
}
const resolver = require('${absolutePagePath}')
apiResolver(
await apiResolver(
req,
res,
Object.assign({}, parsedUrl.query, params ),
Expand Down

0 comments on commit b1aa594

Please sign in to comment.