From 32337b45fecf5d2b64aac30908ad7a68451f45ab Mon Sep 17 00:00:00 2001 From: "Yuri (solarw) Turchenkov" Date: Wed, 15 Feb 2023 10:54:25 +0300 Subject: [PATCH] small validation error message formatting fix --- aea/configurations/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aea/configurations/validation.py b/aea/configurations/validation.py index 1c77034aaf..243d98bb35 100644 --- a/aea/configurations/validation.py +++ b/aea/configurations/validation.py @@ -243,7 +243,7 @@ def _validate(self, instance: Dict) -> None: @staticmethod def _build_message_from_errors(errors: List[jsonschema.ValidationError]) -> str: """Build an error message from validation errors.""" - path = lambda error: ".".join(list(error.path)) # noqa # type: ignore + path = lambda error: "::".join(map(str, error.path)) # noqa result = [f"{path(error)}: {error.message}" for error in errors] return "The following errors occurred during validation:\n - " + "\n - ".join( result