mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 13:34:10 +02:00
Update src/registrar/utility/email.py
Co-authored-by: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
This commit is contained in:
parent
65d89872f2
commit
9940b1657e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def send_templated_email( # noqa
|
||||||
|
|
||||||
# make sure we don't try and send an email to nowhere
|
# make sure we don't try and send an email to nowhere
|
||||||
if not destination:
|
if not destination:
|
||||||
message = "E-mail unable to send, no valid recipients provided."
|
message = "Email unable to send, no valid recipients provided."
|
||||||
raise EmailSendingError(message)
|
raise EmailSendingError(message)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue