1
0
Fork 0

Exit with nonzero code on error

fixes #14
This commit is contained in:
Ivan Habunek 2017-05-08 09:11:20 +02:00
parent 39c2cc661d
commit e46a817f09
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95
1 changed files with 2 additions and 0 deletions

View File

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