Skip to content

Commit 4613c5b

Browse files
committed
Improve logger message.
1 parent 19be354 commit 4613c5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +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.error("XML data unexpectedly not found, processing stopped!")
81+
LOGGER.error("XML data unexpectedly not present, processing stopped!")
8282
raise XMLDataMissingError
8383

8484

@@ -87,7 +87,7 @@ def _findall(xml_in: etree, locator: str) -> list[etree]:
8787
if xml_in is not None:
8888
return xml_in.findall(locator)
8989

90-
LOGGER.error("XML data unexpectedly not found, processing stopped!")
90+
LOGGER.error("XML data unexpectedly not present, processing stopped!")
9191
raise XMLDataMissingError
9292

9393

0 commit comments

Comments
 (0)