serverless
serverless copied to clipboard
prevent early exception on NeonClient error event
Diagnoses/fixes https://github.com/neondatabase/serverless/issues/140
Not sure whether this is the perfect solution, but sharing my temporary patch..
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.
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.