Parcourir la source

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

Mukund Sivaraman il y a 12 ans
Parent
commit
60aa5f582f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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
         username and password. On success of the POST (not the login,
         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
         information on the failure.  This call is essentially 'private',
         but made 'protected' for easier testing.