記錄 ROI 月報反饋區塊失敗
All checks were successful
CD Pipeline / deploy (push) Successful in 55s

This commit is contained in:
OoO
2026-05-13 10:00:04 +08:00
parent 317ff1bf02
commit c300e496c5
2 changed files with 34 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ def render_roi_report(stats: Dict[str, Any]) -> str:
action_emoji = '⚠️' if r['action'] == 'review' else ''
recommendations_block += f" {action_emoji} {r['caller']}: {r['reason']}\n"
except Exception:
pass # 反饋查詢失敗不影響月報主流程
logger.warning('[ROI] 反饋趨勢查詢失敗,略過月報附加區塊', exc_info=True)
return (
f"📊 <b>ROI 月報 {period}</b>\n"