Skip to content
Snippets Groups Projects
Commit 2493b4c6 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Update logger used in sub_mail agent

parent ba3b3c03
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!105Fix linting
...@@ -55,7 +55,7 @@ def mail_list_subscription(ch, method, properties, body): ...@@ -55,7 +55,7 @@ def mail_list_subscription(ch, method, properties, body):
email_msg.set_content(listserv_cmd) email_msg.set_content(listserv_cmd)
if not args.dry_run: if not args.dry_run:
s.send_message(email_msg) s.send_message(email_msg)
logging.info( logger.info(
f"This email will add user {username} to listserv \n{email_msg}" f"This email will add user {username} to listserv \n{email_msg}"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment