aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-10-24 20:03:19 -0700
committerMicah Lee <micah@micahflee.com>2021-10-24 20:03:19 -0700
commite6c7cc989f78a8de531a3cc7420eb9193abd9a06 (patch)
tree67e413e44297ae5ce862219d5e155b5c6bf48b27 /cli
parentf784870c76bb89a41529c5e5282cc54e47148d9e (diff)
downloadonionshare-e6c7cc989f78a8de531a3cc7420eb9193abd9a06.tar.gz
onionshare-e6c7cc989f78a8de531a3cc7420eb9193abd9a06.zip
Only show bridge error if connection type is bundled
Diffstat (limited to 'cli')
-rw-r--r--cli/onionshare_cli/onion.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/onionshare_cli/onion.py b/cli/onionshare_cli/onion.py
index 0d205b97..aa2344db 100644
--- a/cli/onionshare_cli/onion.py
+++ b/cli/onionshare_cli/onion.py
@@ -199,8 +199,6 @@ class Onion(object):
)
return
- self.common.log("Onion", "connect")
-
# Either use settings that are passed in, or use them from common
if custom_settings:
self.settings = custom_settings
@@ -211,6 +209,12 @@ class Onion(object):
self.common.load_settings()
self.settings = self.common.settings
+ self.common.log(
+ "Onion",
+ "connect",
+ f"connection_type={self.settings.get('connection_type')}",
+ )
+
# The Tor controller
self.c = None