Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
When a view function, like the reduce one, is an empty string, like in:
"by_type": { "map": "function (doc) {\n if (doc.type) {\n emit(doc.org, doc);\n }\n}", "reduce": "" }
the message shown in a message box and the logs is
"missing function"
; while this is correct, it is not terribly useful to the user, something like:
"function 'by_type: reduce' is not defined"
would lead to quicker debugging.