From 29bc5cb50ada7175d8556a6cbaeae628dd68ab99 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 15 Oct 2015 14:58:21 +0200 Subject: [PATCH] Improve error message for socket errors in Livestatus fixes #10079 --- lib/livestatus/livestatusquery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/livestatus/livestatusquery.cpp b/lib/livestatus/livestatusquery.cpp index 71ad4eb5c..7c69663cc 100644 --- a/lib/livestatus/livestatusquery.cpp +++ b/lib/livestatus/livestatusquery.cpp @@ -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."); } } }