This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 7528f66  Debug sending emails
7528f66 is described below

commit 7528f666e0928384bb86e12e2468eb6db74d8eae
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Sep 5 14:47:01 2025 +0100

    Debug sending emails
---
 atr/routes/voting.py | 1 +
 atr/tasks/vote.py    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/atr/routes/voting.py b/atr/routes/voting.py
index 1599e69..459d6b2 100644
--- a/atr/routes/voting.py
+++ b/atr/routes/voting.py
@@ -130,6 +130,7 @@ async def selected_revision(
 
         if await form.validate_on_submit():
             email_to: str = util.unwrap(form.mailing_list.data)
+            log.info(f"voting.selected_revision: email to: {email_to}")
             vote_duration_choice: int = util.unwrap(form.vote_duration.data)
             subject_data: str = util.unwrap(form.subject.data)
             body_data: str = util.unwrap(form.body.data)
diff --git a/atr/tasks/vote.py b/atr/tasks/vote.py
index 3b1ab71..be2fe09 100644
--- a/atr/tasks/vote.py
+++ b/atr/tasks/vote.py
@@ -121,6 +121,7 @@ async def _initiate_core_logic(args: Initiate) -> 
results.Results | None:
         raise VoteInitiationError("Invalid mailing list choice")
 
     # Create mail message
+    log.info(f"Creating mail message for {args.email_to}")
     message = mail.Message(
         email_sender=f"{args.initiator_id}@apache.org",
         email_recipient=args.email_to,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to