diff --git a/values.go b/values.go index 502d1f9..bb32023 100644 --- a/values.go +++ b/values.go @@ -93,7 +93,7 @@ func readValue(r io.Reader) (value, error) { case nil: break default: - return nil, fmt.Errorf("unable to read value in redis protocol: %v") + return nil, fmt.Errorf("unable to read value in redis protocol: %v", err) } if len(line) < 3 {