Skip to content

Conversation

@stevenong99-vp
Copy link
Contributor

@stevenong99-vp stevenong99-vp commented Apr 15, 2025

Summary

Improves the logging for errors in acp_client.py

Changes

(Answer where applicable)

  • Important links (Jira/Notion/GitHub Issues):
    None
  • Why this PR is needed?
    Better exception visibility
  • What does this add?
    Nothing
  • What does this deprecate?
    Nothing
  • What does this improve?
    Logging and error handling

Related Changes

  • Does this have a dependant PR? Eg. link to original PR if this is a bug fix PR.
    No

Dev Testing

Old error logging
Pasted image 20250415154559

New error logging
Pasted image 20250415154940

image

@stevenong99-vp stevenong99-vp changed the base branch from main to feat/acp April 15, 2025 08:55
def validate_transaction(self, hash_value: str) -> object:
try:
response = requests.post(f"{self.acp_base_url}/acp-agent-wallets/trx-result", json={"userOpHash": hash_value})
print(f"validate_transaction response status code: {response.status_code}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@stevensf1998 stevensf1998 merged commit bcbef9a into feat/acp Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants