Introduction
Introduction Statistics Contact Development Disclaimer Help
Exit with nonzero code on error - toot - Unnamed repository; edit this file 'de…
Log
Files
Refs
LICENSE
---
commit e46a817f099c6917b6955203f74898afce4ce33a
parent 39c2cc661d73c6c6c9a455579691f9895e2c7947
Author: Ivan Habunek <[email protected]>
Date: Mon, 8 May 2017 09:11:20 +0200
Exit with nonzero code on error
fixes #14
Diffstat:
toot/console.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/toot/console.py b/toot/console.py
@@ -285,5 +285,7 @@ def main():
run_command(app, user, command_name, args)
except ConsoleError as e:
print_err(str(e))
+ sys.exit(1)
except api.ApiError as e:
print_err(str(e))
+ sys.exit(1)
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.