only:details into error message
This commit is contained in:
parent
8d85a67330
commit
61043dab0e
|
@ -359,7 +359,7 @@ public class BinaryProtocol {
|
|||
|
||||
if (!checkResponseCode(response) || response.length != requestSize + 1) {
|
||||
if (extractCode(response) == TS_RESPONSE_OUT_OF_RANGE) {
|
||||
throw new IllegalStateException("TS_RESPONSE_OUT_OF_RANGE ECU/console version mismatch?");
|
||||
throw new IllegalStateException("TS_RESPONSE_OUT_OF_RANGE ECU/console version mismatch? " + offset + "/" + requestSize);
|
||||
}
|
||||
String code = (response == null || response.length == 0) ? "empty" : "ERROR_CODE=" + getCode(response);
|
||||
String info = response == null ? "NO RESPONSE" : (code + " length=" + response.length);
|
||||
|
|
Loading…
Reference in New Issue