-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4347] prop resp to return error on cc error
CC responses that are greater than an threshold (currently 500, soon to be 400) will not be endorsed. As the error is from chaincode and not directly from fabric, endorser returns error. However it makes sense to return a special 500 error with message, "chaincode error" to signify that the response was not endorsed. SDK and users could deep inspect inner response from chaincode for more information. Change-Id: If0ba17908576791bd1933bec17a65db8698f8aef Signed-off-by: Srinivasan Muralidharan <muralisr@us.ibm.com>
- Loading branch information
Srinivasan Muralidharan
committed
Jun 4, 2017
1 parent
a959653
commit 51a606b
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters