mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-19 22:14:28 +01:00
Make JSON errors more silent (#4748)
This commit is contained in:
@@ -52,7 +52,7 @@ def validate_json(
|
||||
|
||||
if errors := sorted(validator.iter_errors(json_object), key=lambda e: e.path):
|
||||
for error in errors:
|
||||
logger.error(f"JSON Validation Error: {error}")
|
||||
logger.debug(f"JSON Validation Error: {error}")
|
||||
|
||||
if config.debug_mode:
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user