Fix problem where I used the wrong attribute name to access an Exeption's message.
Fix problem where I used the wrong attribute name to access an Exeption's message.

barryp/py-bpgsql,olopez32/py-bpgsql,d33tah/bpgsql