# core/alert_manager.py from core.alerters import BaseAlerter class AlertManager(BaseAlerter): def __init__(self, alerters: list[BaseAlerter]): self.alerters = alerters def send(self, message: str): for alerter in self.alerters: try: alerter.send(message) except Exception as e: print("[AlertManager] Alerter failed:", e)