Pymongo exception processing, Lecture