code: def handleError(self, record):
          
          if logging.raiseExceptions:
              t, v, tb = sys.exc_info()
              if issubclass(t, NotifierException) and self.fallback:
                  msg = f"Could not log msg to provider '{self.provider.name}'!\n{v}"
                  self.fallback_defaults["message"] = msg
                  self.fallback.notify(**self.fallback_defaults)
              else:
                  super().handleError(record)
docs: Handles any errors raised during the :meth:`emit` method. Will only try to pass exceptions to fallback notifier
          (if defined) in case the exception is a sub-class of :exc:`~notifiers.exceptions.NotifierException`
  
          :param record: :class:`logging.LogRecord`