-
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-7954] Errors not handled for JSON marshaling
Upon code review in statecouchdb.go and couchdb.go, it appears there are occurrences of the following error producing functions without errors captured and handled: json.Marshal() json.Unmarhsal() decoder.Decode() e.g. json.NewDecoder(resp.Body).Decode(&dbResponse) e.g. decoder.Decode(&genericMap) Change-Id: Id632d636d7e2de817abb60961f908f7ad5222bec Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
- Loading branch information
Chris Elder
committed
Feb 7, 2018
1 parent
ec639a6
commit ba3e841
Showing
1 changed file
with
36 additions
and
13 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