Skip to content

Commit

Permalink
Silent Tor terminate error
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Mar 15, 2016
1 parent 145d4db commit 61b4d97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Tor/TorManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ def startTor(self):

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...")
Expand Down

0 comments on commit 61b4d97

Please sign in to comment.