code: def _exception_free_callback(self, callback, *args, **kwargs):
          
          try:
              return callback(*args, **kwargs)
          except Exception:
              self._logger.exception("An exception occurred while calling a hook! ",exc_info=True)
              return None
docs: A wrapper that remove all exceptions raised from hooks