[#158] client: Do not ignore errors in `processCall()`

Some callbacks, such as `close()` -> `result(v2)` may
generate new errors, so `processCall` should not ignore
them.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/fyrchik/split-info-json
Alex Vanin 2022-03-02 16:17:55 +03:00 committed by Alex Vanin
parent 7ef141aab7
commit 6f1c21da31
1 changed files with 4 additions and 1 deletions

View File

@ -255,8 +255,11 @@ func (x *contextCall) processCall() bool {
// close and write response to resulting structure
ok = x.close()
if !ok {
return false
}
return ok
return x.err == nil
}
// initializes static cross-call parameters inherited from client.