-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When an aggregation pipeline fails on a shard, we wrap the message in mongos, but the wrapping doesn't propagate the error code, just the wrapped message string. See https://groups.google.com/forum/?fromgroups#!topic/mongodb-user/BhKG6B3EAVA for an example.