TorManager: escalate log error for Tor auth
This errorr is fatal for Tor usage (on Linux). Let's make escalate it. Also see the previous commit, without which, this error doesn't even get printed at all.
This commit is contained in:
parent
e6f0a86c5a
commit
4c62840cef
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class TorManager(object):
|
||||||
except Exception, err:
|
except Exception, err:
|
||||||
self.conn = None
|
self.conn = None
|
||||||
self.setStatus(u"Error (%s)" % str(err).decode("utf8", "ignore"))
|
self.setStatus(u"Error (%s)" % str(err).decode("utf8", "ignore"))
|
||||||
self.log.warning(u"Tor controller connect error: %s" % Debug.formatException(str(err).decode("utf8", "ignore")))
|
self.log.error(u"Tor controller connect error: %s" % Debug.formatException(str(err).decode("utf8", "ignore")))
|
||||||
self.enabled = False
|
self.enabled = False
|
||||||
return self.conn
|
return self.conn
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue