There are a few places where BSON validate swallows error codes that make debugging unnecessarily difficult. Logging these status codes (perhaps in debug builds only) would greatly help debugging validation errors.