def METHOD_NAME(self, cls):
    """Registers the given operator on the plugin.
    .. note::
        Any errors are logged rather than being raised.
    Args:
        cls: an :class:`fiftyone.operators.operator.Operator` class
    """
    try:
        instance = cls()
        if self.can_register(instance):
            instance.plugin_name = self.name
            if self.secrets:
                instance.add_secrets(self.secrets)
            self.instances.append(instance)
    except:
        logger.warning(
            f"Failed to register operator {cls.__name__} on plugin {self.name}"
        )
        self.errors.append(traceback.format_exc())