Better handling of IOException on client websocket when trying to send a payload.
This commit is contained in:
		| @@ -173,10 +173,7 @@ public abstract class AbstractClientWS implements AbstractWS { | |||||||
|                 throw ThrowableUtil.uncheck(ce.getCause(), false); |                 throw ThrowableUtil.uncheck(ce.getCause(), false); | ||||||
|             } |             } | ||||||
|         } catch (IOException ioe) { |         } catch (IOException ioe) { | ||||||
|             synchronized (socket) { |             receiveListener.onError(socket.get(), ioe); | ||||||
|                 socket.set(null); |  | ||||||
|                 reconnectIfNecessary(); |  | ||||||
|             } |  | ||||||
|             throw ioe; |             throw ioe; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user