feat(api): add log stmt to update_model_record route

This commit is contained in:
psychedelicious 2023-11-14 08:06:35 +11:00
parent 7daee41ad2
commit 428f0b265f

View File

@ -88,6 +88,7 @@ async def update_model_record(
record_store = ApiDependencies.invoker.services.model_records
try:
model_response = record_store.update_model(key, config=info)
logger.info(f"Updated model: {key}")
except UnknownModelException as e:
raise HTTPException(status_code=404, detail=str(e))
except ValueError as e: