node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

Add error handling for non-function callback

Open dotob opened this issue 1 month ago • 1 comments

catch callback not a function earlier to get a proper callstack. later when executing the callback the stack may be wrong/insufficient.

dotob avatar Nov 10 '25 11:11 dotob

this may fix: https://github.com/brianc/node-postgres/issues/1184

dotob avatar Nov 11 '25 06:11 dotob