-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added handling of evaluation errors for 'if' conditions
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]>
- Loading branch information
1 parent
cb6d261
commit 86b1070
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters