summaryrefslogtreecommitdiffstats
path: root/src/bin/cfgmgr
diff options
context:
space:
mode:
authorJelte Jansen <jelte@isc.org>2011-06-28 11:38:00 +0200
committerJelte Jansen <jelte@isc.org>2011-06-28 11:38:00 +0200
commit92e916b4fe00c6a544121616a401d0d5ea125686 (patch)
tree2baea421ac9b72ac24dca84d7da11362cfc4afbd /src/bin/cfgmgr
parent[trac759] replace prints with logger messages (diff)
downloadkea-92e916b4fe00c6a544121616a401d0d5ea125686.tar.xz
kea-92e916b4fe00c6a544121616a401d0d5ea125686.zip
[trac759] review comments
Diffstat (limited to 'src/bin/cfgmgr')
-rwxr-xr-xsrc/bin/cfgmgr/b10-cfgmgr.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/cfgmgr/b10-cfgmgr.py.in b/src/bin/cfgmgr/b10-cfgmgr.py.in
index 831e5ae26a..fc314dc548 100755
--- a/src/bin/cfgmgr/b10-cfgmgr.py.in
+++ b/src/bin/cfgmgr/b10-cfgmgr.py.in
@@ -94,12 +94,12 @@ def main():
cm.notify_boss()
cm.run()
except SessionError as se:
- logger.error(CFGMGR_CC_SESSION_ERROR, str(se))
+ logger.fatal(CFGMGR_CC_SESSION_ERROR, se)
return 1
except KeyboardInterrupt as kie:
logger.info(CFGMGR_STOPPED_BY_KEYBOARD)
except ConfigManagerDataReadError as cmdre:
- logger.error(CFGMGR_DATA_READ_ERROR, str(cmdre))
+ logger.fatal(CFGMGR_DATA_READ_ERROR, cmdre)
return 2
return 0