Improve error message for socket errors in Livestatus

fixes #10079
This commit is contained in:
Michael Friedrich 2015-10-15 14:58:21 +02:00
parent 9c993bb288
commit 29bc5cb50a
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ void LivestatusQuery::SendResponse(const Stream::Ptr& stream, int code, const St
try {
stream->Write(data.CStr(), data.GetLength());
} catch (const std::exception&) {
Log(LogCritical, "LivestatusQuery", "Cannot write to TCP socket.");
Log(LogCritical, "LivestatusQuery", "Cannot write query response to socket.");
}
}
}