Issue in Fabric SDK Node 1.2.2 - error response status thrown away #fabric-sdk-node #fabric

Matúš Kempa <matus.kempa@...>


In Fabric SDK Node 1.2.2, when response with Status less than 400 is returned from chaincode, the resulting response contains only error message and stack trace.

Would it be possible to fix this issue for 1.2 the same way as it is in 1.3?
Please note, that it is necessary for us to work with Fabric docker images 1.2.

The problematic line in:
114: reject(new Error(proposalResponse.response.message));

Proposed changes: as in
on lines 123, 124 and 125

Thank you.

Join to automatically receive all group messages.