Changeset - aaacb075c3f3
default
0
2
0
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.
2 files changed with 15 insertions and 21 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)