serverless icon indicating copy to clipboard operation
serverless copied to clipboard

prevent early exception on NeonClient error event

Open andyjy opened this issue 11 months ago • 2 comments

Diagnoses/fixes https://github.com/neondatabase/serverless/issues/140

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

andyjy avatar Feb 01 '25 13:02 andyjy

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.

andyjy avatar Feb 11 '25 22:02 andyjy

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.

jawj avatar Feb 13 '25 14:02 jawj