openvidu-test-e2e: print alert content if present

pull/255/head
pabloFuente 2019-03-25 10:55:31 +01:00
parent d62f2f31eb
commit 09de80cf15
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ public class OpenViduEventManager {
if (ex.getClass().getSimpleName().equals("UnhandledAlertException")
&& ex.getMessage().contains("unexpected alert open")) {
stopPolling(false);
System.err.println("Alert opened. Waiting 1 second and restarting polling");
System.err
.println("Alert opened (" + ex.getMessage() + "). Waiting 1 second and restarting polling");
try {
Thread.sleep(1000);
} catch (InterruptedException e) {