Skip to content

Commit

Permalink
✅ ensure HTTPBadRequest reason is a string
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Oct 15, 2024
1 parent f5dc582 commit 1183b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acapy_agent/protocols/issue_credential/v2_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1183b66

Please sign in to comment.