-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi Alexandrainst,
Thanks for the library, it made my day a bit easier!
I was wondering if you could update the library to expose the onError as a callback?
I'm trying to get the connection to a reliable point with proper user feedback and can't really do that without the error information.
Seems like a quick fix for you, and that way I can implement my own error handling for when the host is unreachable.
@OnWebSocketError
public void onError(Throwable cause) {
System.out.printf("onError(%s: %s)%n",cause.getClass().getSimpleName(), cause.getMessage());
cause.printStackTrace(System.out);
}
Metadata
Metadata
Assignees
Labels
No labels