Commit af1a8f31 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Ignore schemas that fail to load

parent 5b18fc90
......@@ -21,6 +21,7 @@ class ValidatorHelper:
schema = schema_config['schema']'Loading schema %r from %r', code, schema)
schema_instance = cls.validator.load_schema(schema)
if schema_instance:
cls.schema_dict[code] = {**schema_config, "schema_instance": schema_instance}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment