Hide stack traces for warning log level in the ExternalCommandListener feature

fixes #3483
This commit is contained in:
Michael Friedrich 2017-02-08 16:11:58 +01:00
parent e5f5284838
commit f8fa4db454

View File

@ -158,7 +158,9 @@ void ExternalCommandListener::CommandPipeThread(const String& commandPath)
ExternalCommandProcessor::Execute(command);
} catch (const std::exception& ex) {
Log(LogWarning, "ExternalCommandListener")
<< "External command failed: " << DiagnosticInformation(ex);
<< "External command failed: " << DiagnosticInformation(ex, false);
Log(LogNotice, "ExternalCommandListener")
<< "External command failed: " << DiagnosticInformation(ex, true);
}
}
}