mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Remove extraneous TODOs except for 1
This commit is contained in:
parent
7e6cf54781
commit
f0b510f09d
2 changed files with 2 additions and 7 deletions
|
@ -75,12 +75,9 @@ def send_templated_email(
|
|||
aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY,
|
||||
config=settings.BOTO_CONFIG,
|
||||
)
|
||||
response = send_email_with_attachment(
|
||||
send_email_with_attachment(
|
||||
settings.DEFAULT_FROM_EMAIL, to_address, subject, email_body, attachment_file, ses_client
|
||||
)
|
||||
# TODO: Remove this print statement when ready to merge,
|
||||
# leaving rn for getting error codes in case
|
||||
print("Response from send_email_with_attachment_is:", response)
|
||||
except Exception as exc:
|
||||
raise EmailSendingError("Could not send SES email.") from exc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue