mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-browsers: HTTP status error print body
parent
b6e561783a
commit
1f7f33bd65
|
@ -248,7 +248,7 @@ public class CustomHttpClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status != jsonResponse.getStatus()) {
|
if (status != jsonResponse.getStatus()) {
|
||||||
System.err.println(jsonResponse.toString());
|
System.err.println(jsonResponse.getBody().toString());
|
||||||
throw new Exception(path + " expected to return status " + status + " but got " + jsonResponse.getStatus());
|
throw new Exception(path + " expected to return status " + status + " but got " + jsonResponse.getStatus());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue