]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1077] throw Unexpected in NetconfAgent::init
authorAndrei Pavel <andrei@isc.org>
Thu, 22 Jul 2021 18:16:41 +0000 (21:16 +0300)
committerTomek Mrugalski <tomek@isc.org>
Fri, 23 Jul 2021 10:45:36 +0000 (10:45 +0000)
src/bin/netconf/netconf.cc

index 4e87399844a02ae3bc2e263dd0bee9cb1fbb6ef7..1c32df646ffdb2ecbe8e5180f9feb6d28bd8ae92 100644 (file)
@@ -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 =