Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Improve Dispatch Error message #199

Conversation

StevenTCramer
Copy link
Contributor

@StevenTCramer StevenTCramer commented Sep 2, 2021

Short description of what this resolves:

Improves error message to include the endpointUri

Changes proposed in this pull request:

Change to line 47 only:
From:
ErrorCode.A2AMessageTransmissionError, $"Failed to send A2A message with an HTTP status code of {response.StatusCode} and content {responseBody}");
To:
ErrorCode.A2AMessageTransmissionError, $"Dispatch Failure. Endpoint:{endpointUri} Status: {response.StatusCode} Content: {responseBody}");

Signed-off-by: StevenTCramer <Steven.Cramer@TimeWarp.Enterprises>
Signed-off-by: StevenTCramer <Steven.Cramer@TimeWarp.Enterprises>
@StevenTCramer StevenTCramer force-pushed the Cramer/2021-03-24/RevokeErrorMessage branch from d0c4500 to 428fc75 Compare September 2, 2021 13:53
@tmarkovski tmarkovski merged commit 9bc6346 into hyperledger-archives:main Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants