mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Fix error message.
This commit is contained in:
parent
9c6b79e4f2
commit
be5078c9aa
@ -181,7 +181,7 @@ void ExternalCommandProcessor::ProcessHostCheckResult(double time, const std::ve
|
|||||||
Host::Ptr host = Host::GetByName(arguments[0]);
|
Host::Ptr host = Host::GetByName(arguments[0]);
|
||||||
|
|
||||||
if (!host)
|
if (!host)
|
||||||
BOOST_THROW_EXCEPTION(std::invalid_argument("Cannot passive host check result for non-existent host '" + arguments[0] + "'"));
|
BOOST_THROW_EXCEPTION(std::invalid_argument("Cannot process passive host check result for non-existent host '" + arguments[0] + "'"));
|
||||||
|
|
||||||
Service::Ptr hc = host->GetCheckService();
|
Service::Ptr hc = host->GetCheckService();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user