mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
print human readable error message
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user