]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5019_rebase] Position printed in the first createSubnet exception
authorTomek Mrugalski <tomasz@isc.org>
Thu, 26 Jan 2017 14:27:05 +0000 (15:27 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 26 Jan 2017 14:27:05 +0000 (15:27 +0100)
src/lib/dhcpsrv/parsers/dhcp_parsers.cc

index 7a41881decfa9094ea3ea7329c3730721be9ba45..e68af3ff215b448d2cf656dc23fa117f8c46ccb2 100644 (file)
@@ -1096,7 +1096,7 @@ SubnetConfigParser::createSubnet(ConstElementPtr params) {
         // rethrow with precise error
         isc_throw(DhcpConfigError,
                  "mandatory 'subnet' parameter is missing for a subnet being"
-                  " configured");
+                  " configured (" << params->getPosition() << ")");
     }
 
     // Remove any spaces or tabs.