mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-18 10:58:34 -04:00
The CLI error message gets printed from the Onion object, so don't try to print it the exception
This commit is contained in:
parent
6ffa9b62f8
commit
30b86efd45
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue