And then how about catch the exception, log it and return None to the caller. I think the caller should be worry free about exception handling and he can just check if the return value is valid object or none?