Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent early exception on NeonClient error event #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andyjy
Copy link
Contributor

@andyjy andyjy commented Feb 1, 2025

Diagnoses/fixes #140

Not sure whether this is the perfect solution, but sharing my temporary patch..

@andyjy
Copy link
Contributor Author

andyjy commented Feb 11, 2025

Noting here that when I next upgrade to a future release I will update this patch to apply on top of the refactor that just landed.

As mentioned above I am less than 100% sure whether this is the right/best fix to actually merge to fix the linked issue.

@jawj
Copy link
Collaborator

jawj commented Feb 13, 2025

Hmm, thanks. No, I'm also not immediately sure whether this — listen-and-do-nothing — is the right approach. Presumably we've just inherited this error behaviour from node-postgres? I'll keep this issue open for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Certain errors terminate process async with unhelpful error (e.g. incorrect user and/or password)
2 participants