Change does_entity_exists create error message if entity does not exist
windrad6 opened this issue · 2 comments
windrad6 commented
The does_entity_exists function is directly calling the get_entity function. If entity does not exists this function will fail and create an error message. The expected behavior would not be an error message when probing for existing element.
github-actions commented
tstorek commented
@windrad6 I checked on this. The function's response is correct, but the log is misleading if the entity does not exist. Probably, it is easier and cleaner to write an extra request for this, right?
Alternatively, it would possible to temporarily change the log level for this call but that's gonna be ugly I guess.