Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Losing actual error message sent by chaincode. #46

Open
shitalninawe opened this issue Feb 18, 2020 · 0 comments
Open

Losing actual error message sent by chaincode. #46

shitalninawe opened this issue Feb 18, 2020 · 0 comments

Comments

@shitalninawe
Copy link

I am using fabric-gateway-java as dependency in my project which internally uses fabric-sdk-java.
In fabric-java-sdk we are losing actual error message that is sent by chaincode. Instead of actual error message we always get error like
"org.hyperledger.fabric.sdk.exception.ProposalException: org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: Could not meet endorsement policy for chaincode "

You can see it in Channel.java line number 4561 and 4698.
How can I get the original error message sent by chaincode?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant