Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Doing a group with an invalid key function (such as 'function(doc) { return
{"x" : 1}', which is missing a '}') gives this in the log:
conn1 Wed Jul 7 10:06:45 JS Error: SyntaxError: missing } in compound statement nofile_b:0
conn1 Wed Jul 7 10:06:45 compile failed for: function(doc) { return
conn1 Wed Jul 7 10:06:45 end connection 127.0.0.1:57423
But it doesn't pass any sort of error back to the client, leading to confusing results.