Generalize the handling of Tor exceptions, more logging in Web

This commit is contained in:
Micah Lee 2018-04-28 13:59:36 -07:00
parent 5d037a78fa
commit 1456361566
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 8 additions and 6 deletions

View file

@ -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