Skip to content

Ignore errors when closing the connection

Compare
Choose a tag to compare
@VaporBot VaporBot released this 21 Apr 13:44
· 283 commits to main since this release
33eea14
This patch was authored by @fabianfett and released by @0xTim.

Resolves an issue where errors thrown by some database servers during closing a connection would cause an error in PostgresNIO. Resolves #150

Modifications

  • We ignore errors when the connection is already closing
  • Updated logging to only issue debug and trace logs.
  • Don't print password in trace logging mode.