Fix call to pq.errorMessage

pq.errorMessage is a method, not a property. it needs to be invoked.