Skip to content

Commit

Permalink
Fix passing the logger through on PostgresConnectionSource (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Wright authored Aug 18, 2021
1 parent e83cabd commit 6f35f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PostgresKit/PostgresConnectionSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public struct PostgresConnectionSource: ConnectionPoolSource {
to: address,
tlsConfiguration: self.configuration.tlsConfiguration,
serverHostname: self.configuration._hostname,
logger: .init(label: "codes.vapor.postgres"),
logger: logger,
on: eventLoop
).flatMap { conn in
return conn.authenticate(
Expand Down

0 comments on commit 6f35f30

Please sign in to comment.