code: def uncaught_exceptions(ex_type, ex_value, ex_traceback):
      lines = traceback.format_exception(
          ex_type, ex_value, ex_traceback
      )
      msg = "".join(lines)
      logger.error("Uncaught Exception\n%s", msg)
  
imports: from __future__ import division, print_function, absolute_import
  from vispy import app, visuals
  from vispy.visuals import transforms
  from vispy.io import load_data_file
  import sys
  import numpy
  import string
  import logging
  import traceback
  from PyQt5 import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 3 for calling a global function with example usage: uncaught_exceptions(ex_type, ex_value, ex_traceback) without return types