From 1183b66ddfea676486b145e52a2ba98402973546 Mon Sep 17 00:00:00 2001 From: ff137 Date: Wed, 16 Oct 2024 00:47:21 +0300 Subject: [PATCH] :white_check_mark: ensure HTTPBadRequest reason is a string Signed-off-by: ff137 --- acapy_agent/protocols/issue_credential/v2_0/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acapy_agent/protocols/issue_credential/v2_0/routes.py b/acapy_agent/protocols/issue_credential/v2_0/routes.py index 747ff9db68..01cf9330d7 100644 --- a/acapy_agent/protocols/issue_credential/v2_0/routes.py +++ b/acapy_agent/protocols/issue_credential/v2_0/routes.py @@ -1216,7 +1216,7 @@ async def credential_exchange_send_bound_offer(request: web.BaseRequest): outbound_handler, ) except LinkedDataProofException as err: - raise web.HTTPBadRequest(reason=err) from err + raise web.HTTPBadRequest(reason=str(err)) from err await outbound_handler(cred_offer_message, connection_id=connection_id)