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; }