-
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-2691] Improve Bcst/Dlvr log serviceability
https://jira.hyperledger.org/browse/FAB-2691 The orderer replies with HTTP status codes with no error text. Although in some cases this is sufficient, especially in development scenarios, the log does not provide enough information for the rejection in order to diagnose the root cause of the bad status. This CR enhances the logging of both Deliver and Broadcast to always log a verbose error if logging is enabled at debug for why a client request is being rejected. Change-Id: I4150a5c43a101d0a3d727cee1bde1aeeb8b8ada2 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Mar 8, 2017
1 parent
f27a039
commit 88cb6cc
Showing
2 changed files
with
66 additions
and
25 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