Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change does_entity_exists create error message if entity does not exist #167

Closed
windrad6 opened this issue Sep 23, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@windrad6
Copy link
Contributor

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.

@windrad6 windrad6 added the bug Something isn't working label Sep 23, 2022
@tstorek tstorek self-assigned this Dec 7, 2022
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

@tstorek
Copy link
Collaborator

tstorek commented Dec 7, 2022

@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.

tstorek added a commit that referenced this issue Dec 7, 2022
tstorek added a commit that referenced this issue Dec 7, 2022
…y_exist

BREAKING CHANGE: Renaming of `does_entity_exists` to `does_entity_exist`

For #167
tstorek added a commit that referenced this issue Dec 7, 2022
…y_exist

BREAKING CHANGE: Renaming of `does_entity_exists` to `does_entity_exist`

For #167
@github-actions github-actions bot closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants