Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add chaincode err message to Evaluate err message
In a previous commit which implemented retry logic for the evaluate method, the error(s) produced by remote endorsers were added to the Details field of the gateway error with a generic error message at the top level. In the case of a proposal response containing a chaincode generated error, no retry is performed and so the error message should also be at the top level (as it used to be before that earlier commit). This commit adds the chaincode error message back into the message returned by the gateway, and will restore the behaviour expected by the scenario tests in the SDKs. Signed-off-by: andrew-coleman <[email protected]>
- Loading branch information