mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
adding a warning when expiration date not set
This commit is contained in:
parent
3107a9213d
commit
7ec6072a92
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
try:
|
||||
cur_exp_date = self.registry_expiration_date
|
||||
except KeyError:
|
||||
logger.warning("current expiration date not set; setting to today")
|
||||
cur_exp_date = date.today()
|
||||
|
||||
# create RenewDomain request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue