diff --git a/Sources/PostgresBridge/PostgresConnectionSource.swift b/Sources/PostgresBridge/PostgresConnectionSource.swift index f1346a6..06261ba 100644 --- a/Sources/PostgresBridge/PostgresConnectionSource.swift +++ b/Sources/PostgresBridge/PostgresConnectionSource.swift @@ -27,7 +27,7 @@ public struct PostgresConnectionSource: BridgesPoolSource { password: self.db.host.password, logger: logger ).flatMapErrorThrowing { error in - _ = conn.close() + let _: EventLoopFuture = conn.close() throw error }.map { conn } }