When searching for a node that doesn't exist the error message makes it seem like you've written the code wrongly. It would be good to catch this exception and print a more useful error message
"""
Europe = Node.search("EU")
print(Europe)
for child in Europe[0].children:
print(child)
"""
gives
Feature Description
try:
grab node
except RelevantException:
logging.error("Cannot find a node with this name")
Feature Type
[ ] Adding new functionality to feo-client
[X] Changing existing functionality in feo-client
[ ] Removing existing functionality in feo-client
Problem Description
When searching for a node that doesn't exist the error message makes it seem like you've written the code wrongly. It would be good to catch this exception and print a more useful error message """ Europe = Node.search("EU") print(Europe) for child in Europe[0].children: print(child) """ gives
Feature Description
try: grab node except RelevantException: logging.error("Cannot find a node with this name")