Skip to content

Commit

Permalink
Use channel link in email delivery failure slack message instead of j…
Browse files Browse the repository at this point in the history
…ust text

Also format source nice.
  • Loading branch information
luca-vari committed Nov 22, 2024
1 parent 158fd65 commit e8da7c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/core/services/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ def send_email_failure_alert_slack(email_pk: str):
"*Email Delivery Failed*\n"
f"An email failed to send for case <{case_url}|{issue.fileref}>.\n"
f"You can view this case's emails here: <{case_email_url}|here>.\n"
"Please check you have the correct email address and try again. If it fails a second time, please post on #caseteam and ask Leads to help you send the email from the coordinator's inbox."
# #CPR3K4F5K = #caseteam channel
"Please check you have the correct email address and try again. If it"
" fails a second time, please post on <#CPR3K4F5K> and ask Leads to help"
" you send the email from the coordinator's inbox."
)

alert_sent = False
Expand Down

0 comments on commit e8da7c0

Please sign in to comment.