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

@@ -110,6 +110,7 @@
<a href="#" class="logo">
<img
src="https://aignosi.blob.core.windows.net/sientia/20231016-Aignosi_Logo_WHITE.png"
alt="Aignosi Logo"
width="247"
height="70"
/>

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]:
"""