mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-08 01:15:00 -04:00
Generalize the handling of Tor exceptions, more logging in Web
This commit is contained in:
parent
5d037a78fa
commit
1456361566
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