def METHOD_NAME():
    try:
        task.callback(self.call, **kwargs)
    except Exception:  # pylint: disable=broad-except
        logger.critical(
            "Failed to execute command %s: %s", repr(msg.name), tb_info()
        )
    if task.on_complete:
        self.call(task.on_complete)