diff options
Diffstat (limited to 'src/couchdb/couch_doc.erl')
-rw-r--r-- | src/couchdb/couch_doc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_doc.erl b/src/couchdb/couch_doc.erl index db1f2625..5bad7854 100644 --- a/src/couchdb/couch_doc.erl +++ b/src/couchdb/couch_doc.erl @@ -147,7 +147,7 @@ from_json_obj({Props}) -> attachments = Bins }; -from_json_obj(Other) -> +from_json_obj(_Other) -> throw({invalid_json_object, "Document must be a JSON object"}). to_doc_info(FullDocInfo) -> |