mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-29 04:54:51 +02:00
Clarify the lack of validation if jsonschema fails to import.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user