Any way to DISABLE the development 500 error page from continually calling the server and refreshing the page to check the status? #16300
Unanswered
conoremclaughlin
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue:
The development version of pages/_error.js will continually call the server every 5 seconds upon the event of a 500. I want to further investigate my logs to see what is causing the error. Visualizing the stack trace on the client oftentimes provides no information and each time a refresh hits, the logs are pushed up and interfere with scanning and reading the logs. I've tried overriding the error page per the documentation here but this only works in production according to the docs.
Ideal Outcome:
It only refreshes the page upon me saving a file. Hot reload can then kick in for a partial or full page reload on the page itself.
Version:
9.4.4 (edit: will attempt to upgrade to 9.5 later post my deadline but reading through the docs, don't see an option to edit this configuration)
Example:

Any help is VERY much appreciated.
Thank you everyone!
Beta Was this translation helpful? Give feedback.
All reactions