mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-09 01:44:56 -04:00
Properly handle errors for using stealth onion services in the GUI, instead of crashing in the background (#144)
This commit is contained in:
parent
286573bda5
commit
6eed7258a7
3 changed files with 11 additions and 2 deletions
|
@ -176,6 +176,10 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
self.starting_server_error.emit(e.args[0])
|
||||
return
|
||||
|
||||
except onionshare.onion.TorTooOld as e:
|
||||
self.starting_server_error.emit(e.args[0])
|
||||
return
|
||||
|
||||
t = threading.Thread(target=start_onion_service, kwargs={'self': self})
|
||||
t.daemon = True
|
||||
t.start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue