Other libs fail when they try to getattr and it throws the wrong exception.
For instance, trying to save the full_response from an authorize Exception to MongoDB with pymongo yields an error because KeyError is never caught when getattr() is called on the fields. Had it been AttributeError as expected it wouldn't fail.
Other libs fail when they try to getattr and it throws the wrong exception.
For instance, trying to save the full_response from an authorize Exception to MongoDB with pymongo yields an error because KeyError is never caught when getattr() is called on the fields. Had it been AttributeError as expected it wouldn't fail.