couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to bcb7c1a
Date Sun, 12 Jul 2015 12:27:57 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master e858e7dfe -> bcb7c1a36


better error text for check_docids


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/bcb7c1a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/bcb7c1a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/bcb7c1a3

Branch: refs/heads/master
Commit: bcb7c1a36ebece3c3b6f47d2a96e700e09fee292
Parents: dec1c99
Author: Robert Newson <rnewson@apache.org>
Authored: Sun Jul 12 13:27:12 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Sun Jul 12 13:27:39 2015 +0100

----------------------------------------------------------------------
 src/couch_changes.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/bcb7c1a3/src/couch_changes.erl
----------------------------------------------------------------------
diff --git a/src/couch_changes.erl b/src/couch_changes.erl
index 2b2647f..9a1d406 100644
--- a/src/couch_changes.erl
+++ b/src/couch_changes.erl
@@ -322,13 +322,13 @@ get_doc_ids(_) ->
 check_docids(DocIds) when is_list(DocIds) ->
     lists:foreach(fun
         (DocId) when not is_binary(DocId) ->
-            Msg = "`doc_ids` filter parameter is not a list of binaries.",
+            Msg = "`doc_ids` filter parameter is not a list of doc ids.",
             throw({bad_request, Msg});
         (_) -> ok
     end, DocIds),
     DocIds;
 check_docids(_) ->
-    Msg = "`doc_ids` filter parameter is not a list of binaries.",
+    Msg = "`doc_ids` filter parameter is not a list of doc ids.",
     throw({bad_request, Msg}).
 
 


Mime
View raw message