Skip to content

Commit 0b45924

Browse files
committed
simplfy error message for transport and operation errors
1 parent 8625e54 commit 0b45924

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/errors/operation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (e *OpError) Error() string {
7474
return e.Reason.String()
7575
}
7676
var buf bytes.Buffer
77-
buf.WriteString("ydb: operation error: ")
77+
buf.WriteString("operation error: ")
7878
buf.WriteString(e.Reason.String())
7979
if len(e.issues) > 0 {
8080
buf.WriteByte(':')

internal/errors/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func NewTransportError(opts ...teOpt) error {
9494
}
9595

9696
func (t *TransportError) Error() string {
97-
s := "ydb: transport error: " + t.Reason.String()
97+
s := "transport error: " + t.Reason.String()
9898
if t.message != "" {
9999
s += ": " + t.message
100100
}

0 commit comments

Comments
 (0)