mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-11 04:09:08 -05: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
@ -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…
x
Reference in New Issue
Block a user