Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Error 500 when entering a bogus URL #207

Closed
f0rk opened this Issue · 4 comments

4 participants

@benkasminbullock

What kind of response should be given here? A 500 response to bad input isn't necessarily unreasonable.

@doy

HTTP already has a response for "bad input": "400 Bad Request". A 500 error means that something unexpectedly failed on the server side.

@benkasminbullock

@doy

HTTP already has a response for "bad input": "400 Bad Request". A 500 error means that something unexpectedly failed on the server side.

In theory it would be better to send this, but trying to send a correct response to every possible case of malformed input makes a lot of programming work for only a very small gain.

@monken
Owner

We return a full ES stack trace now.

@monken monken closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.