mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-30 01:10:04 +02:00
Better logging
This commit is contained in:
parent
aff6aad1d4
commit
8d476d5a80
2 changed files with 4 additions and 6 deletions
|
@ -255,7 +255,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
# if no expiration date from registry, set it to today
|
||||
logger.warning("current expiration date not set; setting to today")
|
||||
date_to_extend = date.today()
|
||||
|
||||
print(f"This is the date to extend: {date_to_extend} vs registry {self.registry_expiration_date}")
|
||||
# create RenewDomain request
|
||||
request = commands.RenewDomain(name=self.name, cur_exp_date=date_to_extend, period=epp.Period(length, unit))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue