mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Review feedback: retries settings
This commit is contained in:
parent
459e753edd
commit
65fd8d3893
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,7 @@ def send_templated_email(template_name: str, to_address: str, context={}):
|
|||
region_name=settings.AWS_REGION,
|
||||
aws_access_key_id=settings.AWS_ACCESS_KEY_ID,
|
||||
aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY,
|
||||
config=settings.BOTO_CONFIG,
|
||||
)
|
||||
except Exception as exc:
|
||||
raise EmailSendingError("Could not access the SES client.") from exc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue