Catches pymongo error and raises ODM error in MongoStorage::insert.