M
Pymongo error catching exception