aboutsummaryrefslogtreecommitdiff
path: root/desktop/onionshare/moat_dialog.py
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2022-03-22 14:22:16 +1100
committerMiguel Jacq <mig@mig5.net>2022-03-22 14:29:02 +1100
commit21243fd9bd43bfa3c193d9794d9dc9655fdb0725 (patch)
treeb6414cabbe7c045c9e39d6a8dad26227b6971a50 /desktop/onionshare/moat_dialog.py
parentd59328d99cc7f5f34046a57174a10e74c3bd7e2c (diff)
downloadonionshare-21243fd9bd43bfa3c193d9794d9dc9655fdb0725.tar.gz
onionshare-21243fd9bd43bfa3c193d9794d9dc9655fdb0725.zip
More verbose and consistent Meek exception logging
Diffstat (limited to 'desktop/onionshare/moat_dialog.py')
-rw-r--r--desktop/onionshare/moat_dialog.py12
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