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 068b95f683
commit edaa8bd073
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

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: