2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-07 13:36:21 +00:00

show actual error (ie the exception text) for a DataNotFoundError, instead of just 'not found'

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac384@4125 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
Jelte Jansen
2011-01-03 15:28:26 +00:00
parent c31de72c76
commit e8edbcf573

View File

@@ -623,7 +623,7 @@ class BindCmdInterpreter(Cmd):
except isc.cc.data.DataTypeError as dte:
print("Error: " + str(dte))
except isc.cc.data.DataNotFoundError as dnfe:
print("Error: " + identifier + " not found")
print("Error: " + str(dnfe))
except KeyError as ke:
print("Error: missing " + str(ke))
raise ke