From ef5c6c56b79bde9bd5652dd49e4d708fdea77ba7 Mon Sep 17 00:00:00 2001 From: Jordan Bradford <36420801+jrdnbradford@users.noreply.github.com> Date: Fri, 2 Feb 2024 23:06:31 -0500 Subject: [PATCH] `print` human readable error message --- tljh/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tljh/config.py b/tljh/config.py index 9bcd200..dce1bae 100644 --- a/tljh/config.py +++ b/tljh/config.py @@ -165,7 +165,7 @@ def validate_config(config): try: jsonschema.validate(instance=config, schema=config_schema) except jsonschema.exceptions.ValidationError as e: - print(e) + print(e.message) exit()