diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-06-24 16:35:58 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-06-24 16:35:58 +0000 |
commit | 2f502eb36358dbdc3816a28000b3dd4036ed62ab (patch) | |
tree | 254e24a65b3541b267fbdb14c484b1cd96daf556 /src | |
parent | 9721b8f6b1bd5d71ddfdb5175b5776ece26f1551 (diff) |
better error message for db names, closes COUCHDB-741 thanks Frank
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957613 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_httpd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index cb71203a..1049aa9d 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -726,7 +726,7 @@ error_info({bad_ctype, Reason}) -> error_info({error, illegal_database_name}) -> {400, <<"illegal_database_name">>, <<"Only lowercase characters (a-z), " "digits (0-9), and any of the characters _, $, (, ), +, -, and / " - "are allowed">>}; + "are allowed. Must begin with a letter.">>}; error_info({missing_stub, Reason}) -> {412, <<"missing_stub">>, Reason}; error_info({Error, Reason}) -> |