Clarify the lack of validation if jsonschema fails to import.

This commit is contained in:
Mike Auty
2016-12-13 14:20:03 +00:00
parent fa427d2a2b
commit a2eedd1972
+1 -1
View File
@@ -54,7 +54,7 @@ def valid(input, schema, use_cache = True):
jsonschema.validate(input, schema)
except ImportError:
vollog.info("Dependency for validation unavailable: jsonschema")
vollog.debug("All validations will return true")
vollog.debug("All validations will report success, even with malformed input")
return True
except:
vollog.debug("Schema validation error", exc_info = True)