adding a warning when expiration date not set

This commit is contained in:
David Kennedy 2023-11-16 10:36:46 -05:00
parent 3107a9213d
commit 7ec6072a92
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -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