Partially revert "Error messages: Properly handle livestatus/cmd pipe errors."

This reverts commit efa8fdcb8e.

refs #7160
This commit is contained in:
Gunnar Beutner 2014-09-09 23:46:41 +02:00
parent 06378b4784
commit fbce8e430a
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}