Skip to content

Prevent catching intentional errors (IVS-371) #345

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

Draft
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

Ghesselink
Copy link
Contributor

@Ghesselink Ghesselink commented Jan 29, 2025

We were catching intentional errors as unintentional exceptions due to
https://github.com/buildingSMART/ifc-gherkin-rules/pull/329/files#diff-2c838ec4f24dc4e43b898ddaa7de4de8f6cc972099850db514753312625e105a

The two types were distinguished by the output string (i.e. if the string contained 'Behave errors' the error is intentional), it is probably better to store this information in the behave context instead.

@Ghesselink Ghesselink requested a review from civilx64 January 29, 2025 16:04
@Ghesselink Ghesselink marked this pull request as draft January 29, 2025 23:03
@civilx64 civilx64 changed the title Prevent catching intentional errors Prevent catching intentional errors (IVS-371) Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant