Silent Tor terminate error

This commit is contained in:
HelloZeroNet 2016-03-16 00:33:56 +01:00
parent 145d4dbd69
commit 61b4d97832

View file

@ -90,7 +90,10 @@ class TorManager:
def stopTor(self):
self.log.debug("Stopping...")
self.tor_process.terminate()
try:
self.tor_process.terminate()
except Exception, err:
self.log.error("Error stopping Tor: %s" % err)
def downloadTor(self):
self.log.info("Downloading Tor...")