mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Silent Tor terminate error
This commit is contained in:
parent
145d4dbd69
commit
61b4d97832
1 changed files with 4 additions and 1 deletions
|
@ -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...")
|
||||
|
|
Loading…
Reference in a new issue