We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 491e36d + bd34f31 commit 3a7fe1cCopy full SHA for 3a7fe1c
CHANGELOG.md
@@ -1,3 +1,5 @@
1
+* Stopped wrapping err error as transport error at topic streams (internals)
2
+
3
## v3.56.1
4
* Fixed fixenv usage (related to tests only)
5
internal/grpcwrapper/rawtopic/rawtopicreader/rawtopicreader.go
@@ -3,6 +3,7 @@ package rawtopicreader
import (
"errors"
"fmt"
6
+ "io"
7
"reflect"
8
9
"github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic"
@@ -30,6 +31,9 @@ func (s StreamReader) CloseSend() error {
30
31
32
func (s StreamReader) Recv() (ServerMessage, error) {
33
grpcMess, err := s.Stream.Recv()
34
+ if xerrors.Is(err, io.EOF) {
35
+ return nil, err
36
+ }
37
if err != nil {
38
if !xerrors.IsErrorFromServer(err) {
39
err = xerrors.Transport(err)
0 commit comments