From c5e573b1bfa680adfbac1004036b64260e5a9c16 Mon Sep 17 00:00:00 2001 From: Ian Costanzo Date: Thu, 7 Dec 2023 09:25:33 -0800 Subject: [PATCH] Slight improvement to credx proof validation error message Signed-off-by: Ian Costanzo --- aries_cloudagent/indy/credx/verifier.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aries_cloudagent/indy/credx/verifier.py b/aries_cloudagent/indy/credx/verifier.py index 0911009144..505a840f25 100644 --- a/aries_cloudagent/indy/credx/verifier.py +++ b/aries_cloudagent/indy/credx/verifier.py @@ -62,7 +62,8 @@ async def verify_presentation( msgs.append(f"{PresVerifyMsg.PRES_VALUE_ERROR.value}::{s}") LOGGER.error( f"Presentation on nonce={pres_req['nonce']} " - f"cannot be validated: {str(err)}" + f"cannot be validated (presentation will be marked as Invalid)" + f": {str(err)}" ) return (False, msgs)