openvidu-test-browsers: print response message if HTTP status error

pull/370/head
pabloFuente 2019-11-15 11:30:04 +01:00
parent 93fd3c650b
commit b6e561783a
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}