def _trace_achievement_action(action_name, description, username, async_process):
    try:
        if username:
            if action_name == "publish":  # Uses publish
                register_publish(username, BlockVersion.loads(description),
                                 async_process=async_process)
            elif action_name == "get_version_delta_info":  # User uses biicode
                register_get_version_delta_info(username, async_process=async_process)
    except Exception as e:
        logger.warning(e % "Error sending to action to achievement: %s")
dataset/ETHPy150Open biicode/bii-server/rest/bottle_plugins/bii_user_trace_bottle_plugin.py/_trace_achievement_action/swapped operands of `%`