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
{{ message }}
Repository navigation
RethinkDB should never return HTTP code 500 (Internal Server Error) without writing a more detailed message to the log #511
I think every 500 we return has an extended description in the body. I'm not sure if this winds up getting shown anywhere though. But we could probably just log that.
catch (const cannot_satisfy_goals_exc_t &e) {
logINF("The server was given a set of goals for which it couldn't find a valid blueprint. %s", e.what());
return http_error_res(e.what(), HTTP_INTERNAL_SERVER_ERROR);
}
@AtnNn -- in which situation were we returning 500 error without body?
And yep, if you don't change the body of previous errors, there shouldn't be any problem.
Activity
coffeemug commentedon Mar 20, 2013
What is this with respect to? (not that I disagree with you, but we need context)
jdoliner commentedon Mar 20, 2013
I think every 500 we return has an extended description in the body. I'm not sure if this winds up getting shown anywhere though. But we could probably just log that.
AtnNn commentedon Mar 20, 2013
A few of the integration tests are failing because the server returns a 500 error code, and there is no indication what the error is.
Here is a bad example of code that returns 500:
Here is a good example:
neumino commentedon Mar 20, 2013
@AtnNn, could you ping me when this issue is fixed?
The web interface display some of these errors. It shouldn't break anything on the web ui, but just in case I would like to test it.
AtnNn commentedon Apr 29, 2014
They all do except for one. I've opened revivew 1464 for it.
Fixing that would be enough I think. @neumino do you mind if I close this issue afterwards?
neumino commentedon Apr 29, 2014
@AtnNn -- in which situation were we returning 500 error without body?
And yep, if you don't change the body of previous errors, there shouldn't be any problem.
AtnNn commentedon Apr 29, 2014
When an exception occurs while reading the distribution.
neumino commentedon Apr 29, 2014
@AtnNn -- Oh ok, feel free to close it afterwards.