spotify / XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
https://xcmetrics.io
Other
1.1k stars 77 forks source link

fixed leaking password in postgres unix socket configuration #98

Closed drunknbass closed 1 year ago

drunknbass commented 1 year ago

Not sure if this was an oversight, but the postgres configuration using the unix socket is inadvertently leaking the postgres db password to the logger. This pr fixes the leak by only logging the pw length matching the else case.