From: Andrei Pavel Date: Thu, 22 Jul 2021 18:16:41 +0000 (+0300) Subject: [#1077] throw Unexpected in NetconfAgent::init X-Git-Tag: Kea-1.9.10~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bb2fa1262258abbe5abfa230e5bef0405058cdf;p=thirdparty%2Fkea.git [#1077] throw Unexpected in NetconfAgent::init --- diff --git a/src/bin/netconf/netconf.cc b/src/bin/netconf/netconf.cc index 4e87399844..1c32df646f 100644 --- a/src/bin/netconf/netconf.cc +++ b/src/bin/netconf/netconf.cc @@ -134,7 +134,7 @@ void NetconfAgent::init(NetconfCfgMgrPtr cfg_mgr) { // Check for a configuration manager. if (!cfg_mgr) { - isc_throw(BadValue, "missing configuration for kea-netconf"); + isc_throw(Unexpected, "missing configuration manager"); return; } const CfgServersMapPtr& servers =