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 error is thrown in _app.jsgetInitialProps on the client side, the error is silently catched and navigation is broken without any error output.
Why it's a problem? As a developer, if you unfortunately generate an error in _app.jsgetInitialProps, you suddenly have a broken navigation and have no idea what's happening and where to look at.
Bug report
Describe the bug
When an error is thrown in
_app.js
getInitialProps
on the client side, the error is silently catched and navigation is broken without any error output.Why it's a problem? As a developer, if you unfortunately generate an error in
_app.js
getInitialProps
, you suddenly have a broken navigation and have no idea what's happening and where to look at.To Reproduce
/hello
, no error output.Expected behavior
Navigating to
/hello
OR error output.Source
https://github.com/opencollective/next-issues/tree/master/app-getInitialProps-silent-error
The text was updated successfully, but these errors were encountered: