diff --git a/r2/r2/lib/validator/validator.py b/r2/r2/lib/validator/validator.py index 233a83d15..0fdfdeb7b 100644 --- a/r2/r2/lib/validator/validator.py +++ b/r2/r2/lib/validator/validator.py @@ -2265,7 +2265,7 @@ class VValidatedJSON(VJSON): def run(self, json_str): data = VJSON.run(self, json_str) - if not data: + if self.has_errors: return # Note: this relies on the fact that all validator errors are dumped