brianc / node-pg-pool

A connection pool for node-postgres
MIT License
180 stars 64 forks source link

Add client to error event emitter #65

Closed brianc closed 7 years ago

brianc commented 7 years ago

When the pool emits an error pass the client as the 2nd parameter to the on('error') handler.

closes #57