Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnected remote actor causes fatal error on tell #36

Closed
MechWipf opened this issue Dec 5, 2016 · 1 comment
Closed

Disconnected remote actor causes fatal error on tell #36

MechWipf opened this issue Dec 5, 2016 · 1 comment
Labels

Comments

@MechWipf
Copy link

MechWipf commented Dec 5, 2016

I am using your package to write a little chat program similar to your example.

Now, when one of the clients disconnects from the server (simple exit or crash) and the server tries to send something to the disconnected client the endpointWriter throws a fatal error which cannot be catched.

Did I miss something in remoting to manage errors or checking if an remote actor got disconnected?

@rogeralsing rogeralsing added the bug label Dec 6, 2016
@rogeralsing
Copy link
Collaborator

This was the result of some log.Fatal calls, they have been replaced with proper error handling.
The fix is available now.
I should probably make any sends to a dead node go to DeadLetter also

@MechWipf MechWipf closed this as completed Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants