mirror of https://github.com/Icinga/icinga2.git
parent
9c993bb288
commit
29bc5cb50a
|
@ -675,7 +675,7 @@ void LivestatusQuery::SendResponse(const Stream::Ptr& stream, int code, const St
|
||||||
try {
|
try {
|
||||||
stream->Write(data.CStr(), data.GetLength());
|
stream->Write(data.CStr(), data.GetLength());
|
||||||
} catch (const std::exception&) {
|
} catch (const std::exception&) {
|
||||||
Log(LogCritical, "LivestatusQuery", "Cannot write to TCP socket.");
|
Log(LogCritical, "LivestatusQuery", "Cannot write query response to socket.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue