This commit is contained in:
Nicolas Mowen 2025-08-09 17:11:40 -06:00
parent 8c511083ff
commit 374cd2bb2f

View File

@ -79,8 +79,9 @@ class GenAIClient:
try:
return ReviewMetadata.model_validate_json(clean_json)
except Exception:
except Exception as e:
# rarely LLMs can fail to follow directions on output format
logger.warning(f"Failed to parse review description as the response did not match expected format. {e}")
return None
else:
return None