Skip to content

Commit 6c939d7

Browse files
Rabah Abdul KhalekRabah Abdul Khalek
authored andcommitted
debugging
1 parent 1e7d604 commit 6c939d7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎giskard/integrations/mlflow/giskard_evaluator.py‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,16 @@ def _generate_metrics(self, scan_results):
100100
"error": str(e),
101101
},
102102
)
103+
# TEMP - DEBUGGING
104+
raise ValueError(
105+
"An error occurred while generating the test suite. "
106+
"Visualising the results of the scan is still possible in the mlflow ui, but not as metrics. "
107+
"Please submit the traceback as a GitHub issue in the following "
108+
"repository for further assistance: https://github.com/Giskard-AI/giskard."
109+
) from e
103110
logger.warning(
104111
"An error occurred while generating the test suite. "
105-
"Visualising the results of the scan is still possible in the mlflow ui, but not as metrics."
112+
"Visualising the results of the scan is still possible in the mlflow ui, but not as metrics. "
106113
"Please submit the traceback as a GitHub issue in the following "
107114
"repository for further assistance: https://github.com/Giskard-AI/giskard."
108115
)

0 commit comments

Comments
 (0)