Couple of things that need cleaned up in the manager code there, we should probably except as ex and pass the ex in to the retry for starters along with sys.exc_info, and we should have a default for sys.exc_info set to None in the retry method signature.
And, finally based on what we're seeing here check sys.exc_info for None before trying extract the tuples in the retry method.
Couple of things that need cleaned up in the manager code there, we should probably except as ex and pass the ex in to the retry for starters along with sys.exc_info, and we should have a default for sys.exc_info set to None in the retry method signature.
And, finally based on what we're seeing here check sys.exc_info for None before trying extract the tuples in the retry method.