From f2a5a48e2c0ea4a6885d9f752730247d608d5e2e Mon Sep 17 00:00:00 2001 From: Amit Mujawar Date: Mon, 8 Jan 2018 14:26:26 +0530 Subject: [PATCH] Fixed logging mistakes --- src/main/java/com/mindstix/cb/page/BasePage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mindstix/cb/page/BasePage.java b/src/main/java/com/mindstix/cb/page/BasePage.java index d25eb45..9241586 100644 --- a/src/main/java/com/mindstix/cb/page/BasePage.java +++ b/src/main/java/com/mindstix/cb/page/BasePage.java @@ -208,7 +208,7 @@ public List getArrayOfElementByCSS(String webElementKey) { } catch (NoSuchElementException exception) { LOGGER.error("No Such Element Present on Web Page"); } catch (Exception exception) { - LOGGER.error("No Such Element Present on Web Page"); + LOGGER.error("Unknown exception", exception); } return dropDownList; } @@ -241,7 +241,7 @@ public List getArrayOfElementByCSS(String suffix, String webElementK } catch (NoSuchElementException exception) { LOGGER.error("No Such Element Present on Web Page"); } catch (Exception exception) { - LOGGER.error("No Such Element Present on Web Page"); + LOGGER.error("Unknown exception", exception); } return dropDownList; }