Skip to content

Commit 58efd74

Browse files
committed
Revert "Change to warning-level, add suggestion"
This reverts commit 1fcb5ff.
1 parent b803e41 commit 58efd74

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

plugwise/helper.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ def _find(xml_in: etree, locator: str) -> etree:
7878
if xml_in is not None:
7979
return xml_in.find(locator)
8080

81-
LOGGER.warning(
82-
"XML data unexpectedly not present, processing stopped. Please retry."
83-
)
81+
LOGGER.error("XML data unexpectedly not present, processing stopped!")
8482
raise XMLDataMissingError
8583

8684

@@ -89,9 +87,7 @@ def _findall(xml_in: etree, locator: str) -> list[etree]:
8987
if xml_in is not None:
9088
return xml_in.findall(locator)
9189

92-
LOGGER.warning(
93-
"XML data unexpectedly not present, processing stopped. Please retry."
94-
)
90+
LOGGER.error("XML data unexpectedly not present, processing stopped!")
9591
raise XMLDataMissingError
9692

9793

0 commit comments

Comments
 (0)