Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand quiet flag to hide all error messages #2984

Closed
rprinsen opened this issue Sep 25, 2017 · 1 comment
Closed

expand quiet flag to hide all error messages #2984

rprinsen opened this issue Sep 25, 2017 · 1 comment

Comments

@rprinsen
Copy link

rprinsen commented Sep 25, 2017

This is followup on issue #2841

http://localhost:3000/_next/dummy/page now returns the following response (HTTP 200):
window.__NEXT_REGISTER_PAGE('/', function() {
var error = {"message":"500 - Internal Server Error.","buildIdMismatched":true}
return { error: error }
})

Currently i have the 'quiet' server option set to true.
Would it be possible to disable all error messages when the quiet option is set to true and just respond with the corresponding http status code?

So: expected behaviour on any error with quiet flag on true:

  • HTTP statuscode 500 (or whichever status code is relevant)
  • empty response body

(although technically i would expect http://localhost:3000/_next/dummy/page to return a http 404)

@niccai
Copy link

niccai commented Nov 17, 2017

Related to #2889

@lock lock bot locked as resolved and limited conversation to collaborators Mar 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants