diff --git a/ee/cli/main.py b/ee/cli/main.py index 8f6019dd..98de372f 100644 --- a/ee/cli/main.py +++ b/ee/cli/main.py @@ -94,6 +94,9 @@ def main(): # Default Cement signals are SIGINT and SIGTERM, exit 0 (non-error) code = 0 print(e) + except Exception as e: + code = 1 + print(e) finally: # Print an exception (if it occurred) and --debug was passed if app.debug: