Files
@ aaacb075c3f3
Branch filter:
Location: kallithea/scripts/make-release
aaacb075c3f3
2.0 KiB
text/plain
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.
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.