socketio / socket.io-client-java

Full-featured Socket.IO Client Library for Java, which is compatible with Socket.IO v1.0 and later.
https://socketio.github.io/socket.io-client-java/installation.html
Other
5.31k stars 969 forks source link

Changed test logger behavior to avoid expected error logging #757

Closed FarmersWrap closed 7 months ago

FarmersWrap commented 9 months ago

Solves https://github.com/socketio/socket.io-client-java/issues/756.
The logic of the program is not changed, but the logic for the logger during tests is modified. Since the JSONException is an expected behavior, we do not want to print this expected error into the console.

dubeyaditya29 commented 7 months ago

this hides the error from the console should have been merged.

darrachequesne commented 7 months ago

Thanks!