mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-23 05:05:15 -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("")
|
print("")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
sys.exit(e.args[0])
|
sys.exit()
|
||||||
|
|
||||||
# Start the onionshare app
|
# Start the onionshare app
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue