Ming "helpfully" adds the value of the current doc, when pymongo errors are raised. In the case of docs that are too large, this puts a huge amount of text on the error, which often gets written to a log file or saved back to monq_task (which of course will fail again). Also, in our indexing code where we know we're making big documents, and check for this case so we can split the doc, the check is failing because of ming's slight change to the error object.
Truncating the error message in: https://sourceforge.net/p/merciless/code/merge-requests/16/
Fixing the error checking in: db/7307
And here's an example showing the differences between pymongo and ming exceptions: