Mercurial > kallithea
diff COPYING @ 6387:aaacb075c3f3
hg: return 400 Bad Request for hg commands that not are commands
Avoid throwing bare Exceptions which requires framework specific testing.
Instead, return a reasonable http error code and make the test more framework
independent.
The "helpful" message will just be a description of the http exception and not
sent to the client.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 04 Jan 2017 23:16:08 +0100 |
parents | a671db5bdd58 |
children |