Skip to content

Commit

Permalink
fix unhandled error
Browse files Browse the repository at this point in the history
  • Loading branch information
gadelkareem authored Jan 23, 2019
1 parent 537618f commit 3e87400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solr/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (parser *MoreLikeThisParser) Parse(resp_ *[]byte) (*SolrMltResult, error) {
jsonbuf, err := bytes2json(resp_)
sr := &SolrMltResult{}
if err != nil {
return sr, nil
return sr, err
}
var resp = new(SolrResponse)
resp.Response = jsonbuf
Expand Down

0 comments on commit 3e87400

Please sign in to comment.