Core: Revert the exception catching too

This commit is contained in:
Mike Auty
2025-01-09 18:24:48 +00:00
parent 21decf1370
commit d07d31047b
+1 -1
View File
@@ -112,7 +112,7 @@ def valid(
validators[schema_key].validate(input)
cached_validations.add(input_hash)
vollog.debug("JSON validated against schema (result cached)")
except fastjsonschema.JsonSchemaValueException:
except jsonschema.exceptions.SchemaError:
vollog.debug("Schema validation error", exc_info=True)
return False