code: def handle_exception(
      exception_type, exception_value, exception_traceback
  ):
      """Intercept raised exceptions to ensure they are included in an Experiment's log files
  
      Parameters
      ----------
      exception_type: Exception
          The class type of the exception that was raised
      exception_value: Str
          The message produced by the exception
      exception_traceback: Exception.traceback
          The traceback provided by the raised exception
  
      Raises
      ------
      SystemExit
          If `exception_type` is a subclass of KeyboardInterrupt"""
      if issubclass(exception_type, KeyboardInterrupt):
          logging.error("KEYBOARD INTERRUPT!")
          sys.__excepthook__(
              exception_type, exception_value, exception_traceback
          )
          raise SystemExit
  
      logging.critical(
          "Uncaught exception!   {}: {}".format(
              exception_type.__name__, exception_value
          ),
          exc_info=(
              exception_type,
              exception_value,
              exception_traceback,
          ),
      )
  
imports: import logging
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: handle_exception(exception_type, exception_value, exception_traceback) without return types