Permalink
Browse files

log proxy details only if it's not null

  • Loading branch information...
azakordonets committed May 5, 2017
1 parent 8463167 commit 03c781a3f644ec34782f04a28c08ec483b40143d
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/com/codeborne/selenide/impl/WebDriverThreadLocalContainer.java
@@ -130,7 +130,9 @@ protected void closeWebDriver(Thread thread) {
if (webdriver != null && !holdBrowserOpen) {
log.info("Close webdriver: " + thread.getId() + " -> " + webdriver);
log.info("Close proxy server: " + thread.getId() + " -> " + proxy);
if (proxy != null) {
log.info("Close proxy server: " + thread.getId() + " -> " + proxy);
}
long start = System.currentTimeMillis();

0 comments on commit 03c781a

Please sign in to comment.