voxpelli / node-connect-pg-simple

A simple, minimal PostgreSQL session store for Express
https://www.npmjs.com/package/connect-pg-simple
MIT License
236 stars 74 forks source link

log whole error object instead of only message #225

Closed safareli closed 1 year ago

safareli commented 2 years ago

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

voxpelli commented 1 year ago

Released in 9.0.0: https://github.com/voxpelli/node-connect-pg-simple/releases/tag/v9.0.0