]> granicus.if.org Git - icinga2/commitdiff
Improve error message for command endpoint checkable's requiring a zone
authorMichael Friedrich <michael.friedrich@icinga.com>
Mon, 23 Sep 2019 07:41:08 +0000 (09:41 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Mon, 23 Sep 2019 07:41:08 +0000 (09:41 +0200)
fixes #7514

lib/icinga/checkable.cpp

index 55bbfeb160f80c26ef56a1e22610993738310b5b..04e462951b675e32245dfed4859fbb9492cf3cfa 100644 (file)
@@ -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."));
                }
        }
 }