<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _attach_original_exception(self, exc):
 """ Often, a retry will be raised inside an "except" block. This Keep track of the first exception for debugging purposes """


        original_exception = sys.exc_info()
        if original_exception[0] is not None:
            exc.original_exception = original_exception