From: Michael Friedrich Date: Mon, 23 Sep 2019 07:41:08 +0000 (+0200) Subject: Improve error message for command endpoint checkable's requiring a zone X-Git-Tag: v2.11.1~7^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=617f1d1333b6735768d0b056bc2d2732129bd26e;p=icinga2 Improve error message for command endpoint checkable's requiring a zone fixes #7514 --- diff --git a/lib/icinga/checkable.cpp b/lib/icinga/checkable.cpp index 55bbfeb16..04e462951 100644 --- a/lib/icinga/checkable.cpp +++ b/lib/icinga/checkable.cpp @@ -53,7 +53,7 @@ void Checkable::OnAllConfigLoaded() } } else { 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.")); } } }