code: def _handle_interrupt(exc, original_exc, hardfail=False, trace=''):
      '''
      if hardfailing:
          If we got the original stacktrace, log it
          If all cases, raise the original exception
          but this is logically part the initial
          stack.
      else just let salt exit gracefully
  
      '''
      if hardfail:
          if trace:
              log.error(trace)
          raise original_exc
      else:
          raise exf _handle_interrupt(exc, original_exc, hardfail=False, trace=''):
      '''
      if hardfailing:
          If we got the original stacktrace, log it
          If all cases, raise the original exception
          but this is logically part the initial
          stack.
      else just let salt exit gracefully
  
      '''
      if hardfail:
          if trace:
              log.error(trace)
          raise original_exc
      else:
          raise exc
docs: if hardfailing:
          If we got the original stacktrace, log it
          If all cases, raise the original exception
          but this is logically part the initial
          stack.
      else just let salt exit gracefully