openvidu-test-browsers: HTTP status error print body

pull/370/head
pabloFuente 2019-11-15 11:45:45 +01:00
parent b6e561783a
commit 1f7f33bd65
1 changed files with 1 additions and 1 deletions

View File

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