def send_error_email()

in probe_scraper/ping_expiry_alert.py [0:0]


def send_error_email(message: str, run_date: date, dry_run: bool):
    email_subject = f"Ping expiry alert errors on {run_date.isoformat()}"
    send_ses(
        fromaddr="telemetry-alerts@mozilla.com",
        subject=email_subject,
        body=message,
        recipients=["telemetry-alerts@mozilla.com"],
        dryrun=dry_run,
    )