From ca7be7f2c2d3d76e3826a11156e735ff219fcb14 Mon Sep 17 00:00:00 2001 From: Tierra Cero Date: Mon, 1 Apr 2024 15:49:37 -0600 Subject: [PATCH] Syntax fix #6 by @tierracero --- Sources/PostgresBridge/PostgresConnectionSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }