From 6e4dd3ae58c091ba0fd64c87fa8d7c268210f99b Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Mon, 2 Jun 2014 19:18:29 +0200 Subject: [PATCH] [3399] Parameters are now printed during exception --- src/bin/dhcp4/ctrl_dhcp4_srv.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc index dd7c943bcf..57bd677686 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc @@ -97,7 +97,8 @@ ControlledDhcpv4Srv::processCommand(const string& command, return (answer); } catch (const Exception& ex) { return (isc::config::createAnswer(1, "Error while processing command '" - + command + "':" + ex.what())); + + command + "':" + ex.what() + + ", params: '" + args->str() + "'")); } }