code: def __init__(self):
      self.orig_sys_excepthook = sys.excepthook
      self.orig_threading_excepthook = threading.excepthook
      sys.excepthook = self.sys_excepthook
      threading.excepthook = self.threading_excepthook
  
file_path: pyqtgraph/pyqtgraph/exceptionHandling.py
imports: import sys
  import threading
  import time
  import traceback
  from types import SimpleNamespace
label_desc: Use image node_id 1 to create a new ExceptionHandler object from inherited base classes: object with example: obj = ExceptionHandler()