code: def _attach_original_exception(self, exc):
          
  
          original_exception = sys.exc_info()
          if original_exception[0] is not None:
              exc.original_exception = original_exception
docs: Often, a retry will be raised inside an "except" block.
              This Keep track of the first exception for debugging purposes