mirror of
https://github.com/onionshare/onionshare.git
synced 2025-10-14 14:11:06 -04:00
Generalize the handling of Tor exceptions, more logging in Web
This commit is contained in:
parent
c939d9b214
commit
a09bfdb2cc
3 changed files with 8 additions and 6 deletions
|
@ -142,7 +142,7 @@ class Mode(QtWidgets.QWidget):
|
|||
self.app.start_onion_service()
|
||||
self.starting_server_step2.emit()
|
||||
|
||||
except (TorTooOld, TorErrorInvalidSetting, TorErrorAutomatic, TorErrorSocketPort, TorErrorSocketFile, TorErrorMissingPassword, TorErrorUnreadableCookieFile, TorErrorAuthError, TorErrorProtocolError, BundledTorTimeout, OSError) as e:
|
||||
except Exception as e:
|
||||
self.starting_server_error.emit(e.args[0])
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue