mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
add pk to log
This commit is contained in:
parent
aa9a7342cc
commit
f5b93d3e10
1 changed files with 3 additions and 1 deletions
|
@ -684,7 +684,9 @@ class DomainRequest(TimeStampedModel):
|
||||||
|
|
||||||
recipient = self.creator if flag_is_active(None, "profile_feature") else self.submitter
|
recipient = self.creator if flag_is_active(None, "profile_feature") else self.submitter
|
||||||
if recipient is None or recipient.email is None:
|
if recipient is None or recipient.email is None:
|
||||||
logger.warning(f"Cannot send {new_status} email, no creator email address.")
|
logger.warning(
|
||||||
|
f"Cannot send {new_status} email, no creator email address for domain request with pk: {self.pk}."
|
||||||
|
)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if not send_email:
|
if not send_email:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue