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
When an exception is thrown inside a page's getInitialProps() the stack trace shows internal Babel regenerator-runtime code instead of recognisable app code. This make it hard to debug.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Throw an Error inside getInitialProps()
See stack-trace like above.
Expected behavior
A stack trace that shows library and application code only, not transpiled code.
Screenshots
System information
Version of Next.js: 6.1.1
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
When an exception is thrown inside a page's
getInitialProps()
the stack trace shows internal Babelregenerator-runtime
code instead of recognisable app code. This make it hard to debug.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Error
insidegetInitialProps()
Expected behavior
A stack trace that shows library and application code only, not transpiled code.
Screenshots
System information
6.1.1
The text was updated successfully, but these errors were encountered: