Skip to content

How can I get chaincode error message? #535

Answered by andrew-coleman
hoskylucky asked this question in Q&A
Discussion options

You must be logged in to vote

Have you unpacked the 'Details' field of the returned error? An example of how to do that can be seen here:
https://github.com/hyperledger/fabric-samples/blob/main/asset-transfer-basic/application-gateway-go/assetTransfer.go#L255

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WenTesla
Comment options

Answer selected by hoskylucky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #526 on January 23, 2023 11:11.