Improve ChunkedInputStream exception message

pull/114/head
Andrew Gaul 2016-01-09 17:21:47 -08:00
rodzic 00dc2a94e0
commit cc516e7ede
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -88,7 +88,7 @@ final class ChunkedInputStream extends FilterInputStream {
if (ch == '\n') {
break;
} else {
throw new IOException("unexpected \\r");
throw new IOException("unexpected char after \\r: " + ch);
}
} else if (ch == -1) {
if (builder.length() > 0) {