forked from I2P_Developers/i2p.i2p
Streaming: Fix connection error message
This commit is contained in:
@ -295,7 +295,7 @@ class PacketQueue implements SendMessageStatusListener {
|
|||||||
IOException ioe = new I2PSocketException(status);
|
IOException ioe = new I2PSocketException(status);
|
||||||
con.getOutputStream().streamErrorOccurred(ioe);
|
con.getOutputStream().streamErrorOccurred(ioe);
|
||||||
con.getInputStream().streamErrorOccurred(ioe);
|
con.getInputStream().streamErrorOccurred(ioe);
|
||||||
con.setConnectionError("failure code " + status);
|
con.setConnectionError(ioe.getLocalizedMessage());
|
||||||
con.disconnect(false);
|
con.disconnect(false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user