Skip to content

Commit

Permalink
Merge pull request #48 from gadelkareem/patch-3
Browse files Browse the repository at this point in the history
fix unhandled error
  • Loading branch information
vanng822 authored Jan 23, 2019
2 parents 537618f + 3e87400 commit e3dd1d0
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 e3dd1d0

Please sign in to comment.