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

change e.printStackTrace() in catch blocks to be more helpful #7

Closed
longlostnick opened this issue Apr 30, 2012 · 0 comments
Closed

Comments

@longlostnick
Copy link
Owner

Right now for debugging I have e.printStackTrace() in most of the catch blocks. This should be changed to be more helpful in each case.

For example, In issue #5 we should:

-log a message saying a server isn't available or went down. (server.log.write("message"))
-remove the server from the list
-proceed without interruption

We can also use this to gracefully re-connect a client to a new server when their current one goes down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant