Skip to content

Commit 52e3378

Browse files
committed
Clearly indicate when error comes from server
1 parent 7cd9c24 commit 52e3378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Error struct {
2121
}
2222

2323
func (e *Error) Error() string {
24-
return e.raw
24+
return "server: " + e.raw
2525
}
2626

2727
// IsUnknownCommand returns whether err is an "unknown command" error.

0 commit comments

Comments
 (0)