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

Losing actual error message sent by chaincode. #46

@shitalninawe

Description

@shitalninawe

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions