diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-29 12:30:19 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-29 12:30:19 -0800 |
commit | edaa8bd073382027bcb2042c4b14358c17c0a725 (patch) | |
tree | 1a0d0d346395b7bb13858ebe09a378b8aa1531b6 | |
parent | 068b95f683f43420dacee9addd18d84fe6f3b11d (diff) | |
download | onionshare-edaa8bd073382027bcb2042c4b14358c17c0a725.tar.gz onionshare-edaa8bd073382027bcb2042c4b14358c17c0a725.zip |
The CLI error message gets printed from the Onion object, so don't try to print it the exception
-rw-r--r-- | cli/onionshare_cli/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/onionshare_cli/__init__.py b/cli/onionshare_cli/__init__.py index 7361ac9e..bcc22f15 100644 --- a/cli/onionshare_cli/__init__.py +++ b/cli/onionshare_cli/__init__.py @@ -332,7 +332,7 @@ def main(cwd=None): print("") sys.exit() except Exception as e: - sys.exit(e.args[0]) + sys.exit() # Start the onionshare app try: |