Fix logging

This commit is contained in:
VirtuBox
2019-09-05 12:45:27 +02:00
parent 877e09e086
commit 77c0bdfeb8

View File

@@ -718,6 +718,11 @@ def setupwp_plugin(self, plugin_name, plugin_option, plugin_data, data):
except CommandExecutionError as e:
Log.debug(self, "{0}".format(e))
raise SiteError("plugin setup failed")
Log.failed(self, "Setting plugin {0}"
.format(plugin_name))
else:
Log.valide(self, "Setting plugin {0}"
.format(plugin_name))
else:
try:
WOShellExec.cmd_exec(self, "{0} "