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