code: def report_exception_to_crittercism(self, *args):
          
  
          if foundations.common.is_internet_available():
              cls, instance, trcback = args
  
              title = re.escape("".join(map(lambda x: x.strip(), traceback.format_exception_only(cls, instance))))
              file = trcback.tb_frame.f_code.co_filename
              line_number = trcback.tb_lineno
              stack = repr(map(str, self.formatTextException(cls, instance, trcback)))
  
              javascript = "Crittercism.logExternalException(\"{0}\", \"{1}\", {2}, {3});".format(
                  title, file, line_number, stack)
              self.__evaluate_javascript(javascript)
              LOGGER.info("{0} | Exception report sent to Crittercism!".format(self.__class__.__name__))
              return True
          else:
              LOGGER.warning("!> {0} | Failed sending exception report to Crittercism!".format(self.__class__.__name__))
              return False
docs: Reports given exception to Crittercism.
  
          :param \*args: Arguments.
          :type \*args: \*
          :return: Method success.
          :rtype: bool