[#1098] object/search: Fix error loss in SignService.Search
Error loss led to incorrect response formation. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
291fd2f183
commit
4b5404047c
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func (s *SignService) Search(req *object.SearchRequest, stream SearchStream) err
|
|||
return stream.Send(new(object.SearchResponse))
|
||||
}
|
||||
|
||||
return nil
|
||||
return err
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue