code: def crash_handler_lite(etype, evalue, tb):
      """a light excepthook, adding a small message to the usual traceback"""
      traceback.print_exception(etype, evalue, tb)
  
      from IPython.core.interactiveshell import InteractiveShell
  
      if InteractiveShell.initialized():
          # we are in a Shell environment, give %magic example
          config = "%config "
      else:
          # we are not in a shell, show generic config
          config = "c."
      print(
          _lite_message_template.format(
              email=author_email, config=config, version=version
          ),
          file=sys.stderr,
      )
  
file_path: catboost/contrib/python/ipython/py3/IPython/core/crashhandler.py
imports: import sys
  import traceback
  from pprint import pformat
  from pathlib import Path
  from IPython.core import ultratb
  from IPython.core.release import author_email
  from IPython.utils.sysinfo import sys_info
  from IPython.utils.py3compat import input
  from IPython.core.release import __version__
  from typing import Optional
label_desc: Use image node_id 1 for calling a global function with example usage: crash_handler_lite(etype, evalue, tb) without return types