mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
5852a003d0
commit
8ebf087772
@ -674,7 +674,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…
x
Reference in New Issue
Block a user