We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44d0ed9 commit 608e453Copy full SHA for 608e453
src/net/rcode/wsclient/WireProtocol.java
@@ -227,7 +227,7 @@ protected String readLine(InputStream in) throws IOException {
227
in.mark(source.length);
228
int r=in.read(source);
229
if (r<0) {
230
- throw new IOException("Short line reading response");
+ throw new IOException("Short line reading response. Got: '" + new String(source, "ISO-8859-1") + "'");
231
}
232
sourceBuffer.clear();
233
sourceBuffer.limit(r);
0 commit comments