Fix error message.
This commit is contained in:
parent
b6bf698604
commit
e639c4d32b
2
conn.go
2
conn.go
|
@ -182,7 +182,7 @@ func (c *Conn) Request(fmt string, args ...interface{}) (*Response, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if resp == nil {
|
if resp == nil {
|
||||||
panic("BUG: SendRawRequest() returned a nil response and error")
|
panic("BUG: Request() returned a nil response and error")
|
||||||
}
|
}
|
||||||
if resp.IsOk() {
|
if resp.IsOk() {
|
||||||
return resp, nil
|
return resp, nil
|
||||||
|
|
Reference in New Issue