Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
if err := json.Unmarshal(respBody, &errsArr); err != nil { |
errorDescs = make([]ViewQueryErrorDesc, len(errsArr))
|
for errIdx, errMessage := range errsArr { |
errorDescs[errIdx] = ViewQueryErrorDesc{
|
SourceNode: "", |
Message: errMessage,
|
}
|
}
|
} else if err := json.Unmarshal(respBody, &errsMap); err != nil { |
for errNode, errMessage := range errsMap { |
errorDescs = append(errorDescs, ViewQueryErrorDesc{
|
SourceNode: errNode,
|
Message: errMessage,
|
})
|
}
|
}
|
These checks should both be `err == nil`
Attachments
Issue Links
- is cloned by
-
GOCBC-1115 [2.2] - View error contents parsed incorrectly
- Closed