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