voxpelli/node-connect-pg-simple

Errors are not propagated correctly

bobnil opened this issue · 1 comments

Hi!
I was trying to use this module and didn't pay attention to that it required Postgres 9.5 or later.
The error that was thrown inside the module was not propagated because it used fn.apply instead of fn.call.

I will submit a pull request soon (needed to create an issue to get a logical branch name)

Fixed by #150 👍