Skip to content

Prevent catching intentional errors (IVS-371) - #345

Draft
Ghesselink wants to merge 3 commits into
developmentfrom
fix-prevent-catching-intentional-errors
Draft

Prevent catching intentional errors (IVS-371)#345
Ghesselink wants to merge 3 commits into
developmentfrom
fix-prevent-catching-intentional-errors

Conversation

@Ghesselink

@Ghesselink Ghesselink commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

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