Skip to content

Commit

Permalink
return the type of the unknown frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Zariel committed Aug 30, 2015
1 parent 85153e2 commit 55d4a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ func (c *Conn) executeQuery(qry *Query) *Iter {
case error:
return &Iter{err: x}
default:
return &Iter{err: NewErrProtocol("Unknown type in response to execute query: %s", x)}
return &Iter{err: NewErrProtocol("Unknown type in response to execute query (%T): %s", x, x)}
}
}

Expand Down

0 comments on commit 55d4a26

Please sign in to comment.