Commit 74196320 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[5098] Exception now logs location.

parent 2b6317f5
......@@ -105,7 +105,8 @@ ClientClassDefParser::parse(ClientClassDictionaryPtr& class_dictionary,
// name is now mandatory
if (name.empty()) {
isc_throw(DhcpConfigError,
"not empty parameter 'name' is required");
"not empty parameter 'name' is required" << "("
<< class_def_cfg->getPosition() << ")" );
}
// Let's parse the next-server field
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment