better error handling and server switching

This commit is contained in:
2025-06-11 18:41:39 -07:00
parent afe985661a
commit bde29e7e98
9 changed files with 158 additions and 136 deletions

View File

@@ -177,6 +177,7 @@ struct API
}
} catch {
print("Websocket Error: \(error)")
continuation.yield(.error(API.Error.websocketError(error)))
}
}