Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
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
- Clones
-
GOCBC-1095 View error contents parsed incorrectly
- Resolved