You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 30, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Variable
err
is not defined, variable in catch is callederror
.To Reproduce
Only found this error on a app deployed on Zeit Now with an api route with cors. In development it works.
Expected behavior
Catch error and log correctly, using
error
variable.System information
Additional context
Link to faulty code: https://github.com/zeit/next.js/blob/7c80febcf796c91bb776ea3b841cab18df221ff4/packages/next/build/webpack/loaders/next-serverless-loader.ts#L72
The text was updated successfully, but these errors were encountered: