mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
Improve error message for command endpoint checkable's requiring a zone
fixes #7514
This commit is contained in:
parent
f6205c9d4b
commit
617f1d1333
@ -53,7 +53,7 @@ void Checkable::OnAllConfigLoaded()
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
BOOST_THROW_EXCEPTION(ValidationError(this, { "command_endpoint" },
|
BOOST_THROW_EXCEPTION(ValidationError(this, { "command_endpoint" },
|
||||||
"Command endpoint must not be set."));
|
"Checkable with command endpoint requires a zone. Please check the troubleshooting documentation."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user