We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56a2e9 commit a002c54Copy full SHA for a002c54
AmplifyPlugins/Core/AWSPluginsCore/WebSocket/WebSocketClient.swift
@@ -250,9 +250,7 @@ extension WebSocketClient: URLSessionWebSocketDelegate {
250
switch (nsError.domain, nsError.code) {
251
case (NSURLErrorDomain.self, NSURLErrorNetworkConnectionLost),
252
(NSURLErrorDomain.self, NSURLErrorCannotConnectToHost),
253
- (NSURLErrorDomain.self, NSURLErrorTimedOut),
254
(NSURLErrorDomain.self, NSURLErrorNotConnectedToInternet),
255
- (NSURLErrorDomain.self, NSURLErrorDataNotAllowed),
256
(NSPOSIXErrorDomain.self, Int(ECONNABORTED)),
257
(NSPOSIXErrorDomain.self, 57):
258
self.subject.send(.error(WebSocketClient.Error.connectionLost))
0 commit comments