Streaming: Fix connection error message

This commit is contained in:
zzz
2014-06-23 20:12:12 +00:00
parent 01da32364f
commit 986de4c1d6

View File

@ -295,7 +295,7 @@ class PacketQueue implements SendMessageStatusListener {
IOException ioe = new I2PSocketException(status);
con.getOutputStream().streamErrorOccurred(ioe);
con.getInputStream().streamErrorOccurred(ioe);
con.setConnectionError("failure code " + status);
con.setConnectionError(ioe.getLocalizedMessage());
con.disconnect(false);
}
break;