[tor-commits] [pytorctl/master] Turn an exception into a log.
mikeperry at torproject.org
mikeperry at torproject.org
Wed Apr 18 23:59:55 UTC 2012
commit 305a759d99dd01f60faed9aa036b37746d3c54c5
Author: Mike Perry <mikeperry+git at torproject.org>
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
More information about the tor-commits
mailing list