diff options
Diffstat (limited to 'desktop/onionshare/moat_dialog.py')
-rw-r--r-- | desktop/onionshare/moat_dialog.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/desktop/onionshare/moat_dialog.py b/desktop/onionshare/moat_dialog.py index fd04ee9c..db4bdf29 100644 --- a/desktop/onionshare/moat_dialog.py +++ b/desktop/onionshare/moat_dialog.py @@ -236,14 +236,10 @@ class MoatThread(QtCore.QThread): # Start Meek so that we can do domain fronting try: self.meek.start() - except MeekNotFound: - self.common.log("MoatThread", "run", f"Could not find meek-client") - self.bridgedb_error.emit() - return - except MeekNotRunning: - self.common.log( - "MoatThread", "run", f"Ran meek-client, but there was an error" - ) + except ( + MeekNotFound, + MeekNotRunning, + ): self.bridgedb_error.emit() return |