better error text for check_docids
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 @@
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}).