diff --git a/WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift b/WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift index 358ab53..a2c19ba 100644 --- a/WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift +++ b/WireGuardKit/Sources/WireGuardKit/WireGuardAdapter.swift @@ -314,7 +314,7 @@ public class WireGuardAdapter { } let resolvedEndpoints = resolutionResults.map { (result) -> Endpoint? in - return try? result?.get() + return try! result?.get() } return resolvedEndpoints