mongoDB: more detailed error messages