Fix error message.

This commit is contained in:
Yawning Angel 2015-10-10 15:34:56 +00:00
parent b6bf698604
commit e639c4d32b
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ func (c *Conn) Request(fmt string, args ...interface{}) (*Response, error) {
}
}
if resp == nil {
panic("BUG: SendRawRequest() returned a nil response and error")
panic("BUG: Request() returned a nil response and error")
}
if resp.IsOk() {
return resp, nil