code: def install_exception_reporter(report=True):
      
  
      reporter = Reporter(report=report)
      sys.excepthook = reporter
      return reporter
docs: Installs the exceptions reporter.
  
      :param report: Report to Crittercism.
      :type report: bool
      :return: Reporter instance.
      :rtype: Reporter