補 AiderHeal 靜默失敗診斷
All checks were successful
CD Pipeline / deploy (push) Successful in 56s

This commit is contained in:
OoO
2026-05-13 12:25:35 +08:00
parent c78bb1d453
commit 9ec7713e6f

View File

@@ -142,8 +142,9 @@ def _http_get_json(url: str, timeout: int = 10) -> Optional[Dict[str, Any]]:
resp = requests.get(url, timeout=timeout)
if resp.status_code == 200:
return resp.json()
logger.debug("[AiderHeal] health probe returned status=%s url=%s", resp.status_code, url)
except Exception:
pass
logger.debug("[AiderHeal] health probe request failed url=%s", url, exc_info=True)
return None
@@ -186,7 +187,7 @@ def _notify_telegram(message_html: str) -> None:
"payload": {"raw_message_html": message_html},
}, admin_chat_ids=[TELEGRAM_CHAT_ID])
except Exception:
pass
logger.warning("[AiderHeal] EventRouter notification dispatch failed", exc_info=True)
def _git_cmd(