better error handling and server switching
This commit is contained in:
@@ -177,6 +177,7 @@ struct API
|
||||
}
|
||||
} catch {
|
||||
print("Websocket Error: \(error)")
|
||||
continuation.yield(.error(API.Error.websocketError(error)))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user