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

Added handling of evaluation errors for 'if' conditions #434

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

andy-maier
Copy link
Member

For details, see the commit message.

@andy-maier andy-maier self-assigned this Nov 28, 2023
@andy-maier andy-maier added this to the 1.5.0 milestone Nov 28, 2023
Details:

* The 'if' conditions in the default metric definition file should not
  cause issues, but because the file can be modified by users, the current
  approach of ending with a Python traceback has been improved to now
  handle possible exceptions when evaluating the expression.

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier force-pushed the andy/handle-condition-error branch from 0bb2516 to 86b1070 Compare November 28, 2023 06:15
@coveralls
Copy link

Coverage Status

coverage: 36.413% (-0.05%) from 36.463%
when pulling 86b1070 on andy/handle-condition-error
into cb6d261 on master.

@andy-maier andy-maier merged commit bfd6c22 into master Nov 28, 2023
16 checks passed
@andy-maier andy-maier deleted the andy/handle-condition-error branch November 28, 2023 08:36
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.

3 participants