node-connect-pg-simple
node-connect-pg-simple copied to clipboard
log whole error object instead of only message
Without doing this error messages stack trace is lost when it's very important to be able to debug errors.
as type of errorLog is typeof console.error
this shouldn't be a breaking of current api as clients are responsible to handle any arguments