diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index e36ec8f..519faae 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1332,7 +1332,7 @@ def site_url_https(self, domain): WOVariables.wo_wpcli_path, domain)) except CommandExecutionError as e: Log.debug(self, "{0}".format(e)) - raise SiteError("plugin activation failed") + raise SiteError("migration to https failed") Log.info( self, "Site address updated " "successfully to https://{0}".format(domain)) diff --git a/wo/core/shellexec.py b/wo/core/shellexec.py index cfb43e1..77ba8a5 100644 --- a/wo/core/shellexec.py +++ b/wo/core/shellexec.py @@ -35,11 +35,11 @@ class WOShellExec(): .format(cmd_stdout, cmd_stderr)) return False except OSError as e: - Log.debug(self, str(e)) - raise CommandExecutionError + Log.debug(self, str(e)) + raise CommandExecutionError except Exception as e: - Log.debug(self, str(e)) - raise CommandExecutionError + Log.debug(self, str(e)) + raise CommandExecutionError def invoke_editor(self, filepath, errormsg=''): """