mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04: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