<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def onRefreshPluginData(self, plugin_name, data):
 """ Frontend requests a data refresh :param plugin_name: Name of plugin that changed :type plugin_name: str :param data: Additional data :type data: None :rtype: None """

        logger.info(u"onRefreshPluginData: {}".format(plugin_name))
        if not plugin_name:
            logger.error("Missing plugin name")
            return
        reactor.callFromThread(self._sendJSON, {
            'msg': "plugin_data_get",
            'plugin_name': plugin_name
        })