Skip to content
  • Chris Elder's avatar
    ba3e8415
    [FAB-7954] Errors not handled for JSON marshaling · ba3e8415
    Chris Elder authored
    
    
    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: default avatarChris Elder <chris.elder@us.ibm.com>
    ba3e8415
    [FAB-7954] Errors not handled for JSON marshaling
    Chris Elder authored
    
    
    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: default avatarChris Elder <chris.elder@us.ibm.com>
Loading