From f5bb982319ff5f46586133d641d66b4b02962b5f Mon Sep 17 00:00:00 2001 From: Robin Vobruba Date: Mon, 29 Jan 2024 17:55:29 +0100 Subject: [PATCH] Exit with non-zero exit-code on error [fix #196] --- pylode/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylode/cli.py b/pylode/cli.py index a23d7e05..381bdda6 100644 --- a/pylode/cli.py +++ b/pylode/cli.py @@ -60,7 +60,7 @@ def main(): raise ValueError(f"Unexpected profile type '{args.profile}'") except PylodeError as e: print("ERROR: " + str(e)) - exit() + exit(1) pylode_kwargs = {}