[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [pytorctl/master] Turn an exception into a log.



commit 305a759d99dd01f60faed9aa036b37746d3c54c5
Author: Mike Perry <mikeperry+git@xxxxxxxxxxxxxx>
Date:   Wed Apr 18 16:47:25 2012 -0700

    Turn an exception into a log.
---
 TorCtl.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TorCtl.py b/TorCtl.py
index db8b5b8..517a282 100755
--- a/TorCtl.py
+++ b/TorCtl.py
@@ -563,7 +563,7 @@ class Connection:
       else:
         # not of a recognized authentication type (new addition to the
         # control-spec?)
-        raise IOError("Unrecognized authentication type: %s" % authInfo)
+        plog("INFO", "Unrecognized authentication type: %s" % authInfo)
       
       self._authType = authType
       self._cookiePath = cookiePath

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits