node-connect-pg-simple icon indicating copy to clipboard operation
node-connect-pg-simple copied to clipboard

log whole error object instead of only message

Open safareli opened this issue 2 years ago • 0 comments

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

safareli avatar Dec 16 '21 13:12 safareli