Commit 6e4dd3ae authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[3399] Parameters are now printed during exception

parent fe739cf8
...@@ -97,7 +97,8 @@ ControlledDhcpv4Srv::processCommand(const string& command, ...@@ -97,7 +97,8 @@ ControlledDhcpv4Srv::processCommand(const string& command,
return (answer); return (answer);
} catch (const Exception& ex) { } catch (const Exception& ex) {
return (isc::config::createAnswer(1, "Error while processing command '" return (isc::config::createAnswer(1, "Error while processing command '"
+ command + "':" + ex.what())); + command + "':" + ex.what() +
", params: '" + args->str() + "'"));
} }
} }
......
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