samalone / websocket-actor-system

A client/server actor system for Swift distributed actors

Home Page:https://samalone.github.io/websocket-actor-system/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve error handling when there is no matching Node ID

samalone opened this issue · comments

Sven Schmidt reported that the sample code in my README hangs.

The problem was that the actor ID for the greeter was specified to be on node "server", but the server was getting a random node ID. The fix was to assign the server the node ID "server".

I've fixed the sample code, but I should also improve the log messages when there is no node with the correct node ID. This may be tricky since we use continuations to wait for nodes.