def _attach_original_exception(self, exc):

        original_exception = sys.exc_info()
        if original_exception[0] is not None:
            exc.original_exception = original_exception
Often, a retry will be raised inside an "except" block.
dataset/ETHPy150Open pricingassistant/mrq/mrq/job.py/Job._attach_original_exception