Browse Source

[2641] Add a note to the description about the errors that we expect

Mukund Sivaraman 12 years ago
parent
commit
60aa5f582f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bin/bindctl/bindcmd.py

+ 2 - 0
src/bin/bindctl/bindcmd.py

@@ -226,6 +226,8 @@ WARNING: Python readline module isn't available, so the command line editor
         Attempts to log into cmdctl by sending a POST with the given
         Attempts to log into cmdctl by sending a POST with the given
         username and password. On success of the POST (not the login,
         username and password. On success of the POST (not the login,
         but the network operation), it returns a tuple (response, data).
         but the network operation), it returns a tuple (response, data).
+        We check for some failures such as SSL errors and socket errors
+        which could happen due to the environment in which BIND 10 runs.
         On failure, it raises a FailToLogin exception and prints some
         On failure, it raises a FailToLogin exception and prints some
         information on the failure.  This call is essentially 'private',
         information on the failure.  This call is essentially 'private',
         but made 'protected' for easier testing.
         but made 'protected' for easier testing.