This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user