summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-16 13:47:20 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-12 11:18:50 -0400
commitcad50b218bde37cd1f0f1cfb767334df57c325f5 (patch)
treea3f78e2832518f6dd67aaa39cbdab5d2fc621f3c /src
parent134dc2c24f08ef7487fcdf5c5d751603a5ed14a6 (diff)
Human-readable 404 for missing DB, BugzID 10523
Diffstat (limited to 'src')
-rw-r--r--src/chttpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 47d4c6a7..3e46b263 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -510,7 +510,7 @@ error_info({bad_request, Reason}) ->
error_info({query_parse_error, Reason}) ->
{400, <<"query_parse_error">>, Reason};
error_info(database_does_not_exist) ->
- {404, <<"not_found">>, <<"database_does_not_exist">>};
+ {404, <<"not_found">>, <<"Database does not exist.">>};
error_info(not_found) ->
{404, <<"not_found">>, <<"missing">>};
error_info({not_found, Reason}) ->