]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Tweak fix error message
authorMarcin Haba <marcin.haba@bacula.pl>
Thu, 23 Mar 2023 14:31:10 +0000 (15:31 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Thu, 20 Apr 2023 10:00:26 +0000 (12:00 +0200)
gui/baculum/protected/API/Pages/API/PluginVSphereListDatastores.php

index def1538bc3cbdb4c565f4713bc6b61e9f2c75f55..3b3fd4856fca34697c4c3d87967b789492187eec 100644 (file)
@@ -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}"