mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: log 500 error
parent
18b8643cd8
commit
cd347d6064
|
@ -210,6 +210,9 @@ public class CustomHttpClient {
|
||||||
log.error(e.getMessage());
|
log.error(e.getMessage());
|
||||||
Assert.fail("Error sending request to " + path + ": " + e.getMessage());
|
Assert.fail("Error sending request to " + path + ": " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
if (jsonResponse.getStatus() == 500) {
|
||||||
|
log.error("Internal Server Error: {}", jsonResponse.getBody().toString());
|
||||||
|
}
|
||||||
Assert.assertEquals(path + " expected to return status " + status, status, jsonResponse.getStatus());
|
Assert.assertEquals(path + " expected to return status " + status, status, jsonResponse.getStatus());
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue