Skip to content

Commit 2340a28

Browse files
committed
Improve output
1 parent 564f78b commit 2340a28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugwise/helper.py

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

81-
raise XMLDataMissingError()
81+
LOGGER.error("XML data unexpectedly not found, processing stopped!")
82+
raise XMLDataMissingError
8283

8384

8485
def update_helper(

0 commit comments

Comments
 (0)