SIENTIAPDE-1252: Improve caching in quality gate, add alt text to logo, and change exception type in MLflow repository.

This commit is contained in:
Bruno Domingues
2025-10-13 10:54:38 -03:00
parent b3c749872c
commit 9d4ec19586
4 changed files with 11 additions and 6 deletions

View File

@@ -607,7 +607,7 @@ class MLFlowRepository:
except Exception as e:
error_msg = f"Failed to save run '{data.run_name}' to MLflow: {str(e)}"
self.logger.error(error_msg)
raise Exception(error_msg) from e
raise RuntimeError(error_msg) from e
def _init_artifacts_data(self, data: TrainModelResult) -> tuple[pd.DataFrame, pd.DataFrame]:
"""