| 586 | } |
| 587 | |
| 588 | void LivestatusQuery::ExecuteErrorHelper(const Stream::Ptr& stream) |
| 589 | { |
| 590 | Log(LogDebug, "LivestatusQuery") |
| 591 | << "ERROR: Code: '" << m_ErrorCode << "' Message: '" << m_ErrorMessage << "'."; |
| 592 | SendResponse(stream, m_ErrorCode, m_ErrorMessage); |
| 593 | } |
| 594 | |
| 595 | void LivestatusQuery::SendResponse(const Stream::Ptr& stream, int code, const String& data) |
| 596 | { |