openvidu-test-browsers: HTTP status error print body
This commit is contained in:
parent
b6e561783a
commit
1f7f33bd65
@ -248,7 +248,7 @@ public class CustomHttpClient {
|
||||
}
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user