Skip to content

Commit

Permalink
Syntax fix #6 by @tierracero
Browse files Browse the repository at this point in the history
  • Loading branch information
tierracero committed Apr 1, 2024
1 parent 4fc1159 commit ca7be7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PostgresBridge/PostgresConnectionSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public struct PostgresConnectionSource: BridgesPoolSource {
password: self.db.host.password,
logger: logger
).flatMapErrorThrowing { error in
_ = conn.close()
let _: EventLoopFuture<Void> = conn.close()
throw error
}.map { conn }
}
Expand Down

0 comments on commit ca7be7f

Please sign in to comment.