From 57101a2135e3510692227505c2736f26373de1ba Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Sun, 12 Jan 2014 08:35:12 +0000 Subject: [PATCH] Fixed error output on missing attribute --- opentrafficshaper/plugins/configmanager.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opentrafficshaper/plugins/configmanager.pm b/opentrafficshaper/plugins/configmanager.pm index 82c2fd0..560cf95 100644 --- a/opentrafficshaper/plugins/configmanager.pm +++ b/opentrafficshaper/plugins/configmanager.pm @@ -1711,7 +1711,10 @@ sub createPool } } if ($isInvalid) { - $logger->log(LOG_WARN,"[CONFIGMANAGER] Cannot process pool add as there is an attribute missing: '%s'",$isInvalid); + $logger->log(LOG_WARN,"[CONFIGMANAGER] Cannot process pool add for '%s' as there is an attribute missing: '%s'", + prettyUndef($poolData->{'Name'}), + $isInvalid + ); return; } -- GitLab