From: Tomek Mrugalski Date: Thu, 26 Jan 2017 14:27:05 +0000 (+0100) Subject: [5019_rebase] Position printed in the first createSubnet exception X-Git-Tag: trac3389_base~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3538dd031e6f29abcd516f425d72c8f929abbb0;p=thirdparty%2Fkea.git [5019_rebase] Position printed in the first createSubnet exception --- diff --git a/src/lib/dhcpsrv/parsers/dhcp_parsers.cc b/src/lib/dhcpsrv/parsers/dhcp_parsers.cc index 7a41881dec..e68af3ff21 100644 --- a/src/lib/dhcpsrv/parsers/dhcp_parsers.cc +++ b/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.