Skip to content

Commit

Permalink
more logging in get all endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Nov 27, 2023
1 parent 8c8d1dd commit e84874a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aries_cloudagent/ledger/indy_vdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,12 +634,13 @@ async def get_all_endpoints_for_did(self, did: str) -> dict:
attrib_req = ledger.build_get_attrib_request(
public_did, nym, "endpoint", None, None
)
LOGGER.warning(f"RESPONSE FROM LEDGER {attrib_req}")
except VdrError as err:
raise LedgerError("Exception when building attribute request") from err

response = await self._submit(attrib_req, sign_did=public_info)
data_json = response["data"]

LOGGER.warning(f"RESPONSE DATA: {data_json}")
if data_json:
endpoints = json.loads(data_json).get("endpoint", None)
else:
Expand Down

0 comments on commit e84874a

Please sign in to comment.