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:
redfish 2018-08-02 23:42:50 +00:00
parent e6f0a86c5a
commit 4c62840cef
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class TorManager(object):
except Exception, err:
self.conn = None
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
return self.conn