Add error handling for non-function callback by dotob · Pull Request #3561 · brianc/node-postgres

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@dotob

Copy link

@dotob dotob commented

Nov 10, 2025

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

Ne0os and niklas-dahl reacted with thumbs up emoji
catch callback not a function earlier to get a proper callstack. later when executing the callback the stack may be wrong/insufficient.

@dotob

Copy link

Author

dotob commented

Nov 11, 2025

this may fix: #1184

Ne0os reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@dotob