Browse Source

[5019_rebase] Position printed in the first createSubnet exception

Tomek Mrugalski 8 years ago
parent
commit
f3538dd031
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcpsrv/parsers/dhcp_parsers.cc

+ 1 - 1
src/lib/dhcpsrv/parsers/dhcp_parsers.cc

@@ -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.