From: Marcin Haba Date: Thu, 23 Mar 2023 14:31:10 +0000 (+0100) Subject: baculum: Tweak fix error message X-Git-Tag: Release-13.0.3~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68145067751463c25ae6d22cb0557b0745c872da;p=thirdparty%2Fbacula.git baculum: Tweak fix error message --- diff --git a/gui/baculum/protected/API/Pages/API/PluginVSphereListDatastores.php b/gui/baculum/protected/API/Pages/API/PluginVSphereListDatastores.php index def1538bc..3b3fd4856 100644 --- a/gui/baculum/protected/API/Pages/API/PluginVSphereListDatastores.php +++ b/gui/baculum/protected/API/Pages/API/PluginVSphereListDatastores.php @@ -82,7 +82,7 @@ class PluginVSphereListDatastores extends ConsoleOutputQueryPage { if ($out->exitcode !== 0) { $out->error = PluginVSphereError::ERROR_EXECUTING_PLUGIN_QUERY_COMMAND; - $out->output = PluginVSphereError::MSG_ERROR_EXECUTING_PLUGIN_QUERY_COMMAND . $out->output; + $out->output = PluginVSphereError::MSG_ERROR_EXECUTING_PLUGIN_QUERY_COMMAND . implode(PHP_EOL, $out->output); $this->getModule('logging')->log( Logging::CATEGORY_EXECUTE, $out->output . ", Error={$out->error}"