diff --git a/command.go b/command.go index dab9fc3..559a11f 100644 --- a/command.go +++ b/command.go @@ -378,7 +378,7 @@ func (cmd *BoolCmd) parseReply(rd *bufio.Reader) error { cmd.val = bytes.Equal(vv, ok) return nil default: - return fmt.Errorf("got %T, wanted int64 or string") + return fmt.Errorf("got %T, wanted int64 or string", v) } }