The CLI error message gets printed from the Onion object, so don't try to print it the exception

This commit is contained in:
Micah Lee 2020-11-29 12:30:19 -08:00
parent 6ffa9b62f8
commit 30b86efd45

View File

@ -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: