mirror of https://github.com/Icinga/icinga2.git
Partially revert "Error messages: Properly handle livestatus/cmd pipe errors."
This reverts commit efa8fdcb8e
.
refs #7160
This commit is contained in:
parent
06378b4784
commit
fbce8e430a
|
@ -134,9 +134,9 @@ void ExternalCommandListener::CommandPipeThread(const String& commandPath)
|
|||
Log(LogInformation, "ExternalCommandListener", "Executing external command: " + command);
|
||||
|
||||
ExternalCommandProcessor::Execute(command);
|
||||
} catch (const std::exception&) {
|
||||
} catch (const std::exception& ex) {
|
||||
std::ostringstream msgbuf;
|
||||
msgbuf << "External command failed.";
|
||||
msgbuf << "External command failed." << DiagnosticInformation(ex);
|
||||
Log(LogWarning, "ExternalCommandListener", msgbuf.str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue