Browse Source

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
Jelte Jansen 14 years ago
parent
commit
e8edbcf573
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bindctl/bindcmd.py

+ 1 - 1
src/bin/bindctl/bindcmd.py

@@ -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