MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ExecuteErrorHelper

Method ExecuteErrorHelper

lib/livestatus/livestatusquery.cpp:588–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588void 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
595void LivestatusQuery::SendResponse(const Stream::Ptr& stream, int code, const String& data)
596{

Callers

nothing calls this directly

Calls 1

LogClass · 0.85

Tested by

no test coverage detected