Skip to content

Commit cea6106

Browse files
authored
Merge branch 'main' into ios-events
2 parents 7e6b50b + 7ebee0d commit cea6106

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Nats/NatsConnection.swift

+1
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ class ConnectionHandler: ChannelInboundHandler {
479479
// due to the promise originating on the event loop of the channel.
480480
try channel.pipeline.syncOperations.addHandler(sslHandler)
481481
} catch {
482+
upgradePromise.fail(error)
482483
return channel.eventLoop.makeFailedFuture(error)
483484
}
484485
}

0 commit comments

Comments
 (0)