-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 0.13.1
-
Component/s: CLI Module
-
None
-
Iteration Chicago
-
Not Needed
In mongosh 0.13.1 paste in following malformed javascript code and press enter:
var pipeline = [ {$bucketAuto": { "groupBy": "$favColour", "buckets": 2, }}, ];
(missing a double quote " before $bucketAuto)
mongosh thinks this is its own fault when it isn't and prints out:
This is an error inside Mongosh. Please file a bug report for the MONGOSH project here: https://jira.mongodb.org.