Update domain.py

This commit is contained in:
zandercymatics 2024-05-06 08:09:51 -06:00
parent ec26f03b44
commit 9bd0d9e6b7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1569,7 +1569,7 @@ class Domain(TimeStampedModel, DomainHelper):
def _get_or_create_contact(self, contact: PublicContact): def _get_or_create_contact(self, contact: PublicContact):
"""Try to fetch info about a contact. Create it if it does not exist.""" """Try to fetch info about a contact. Create it if it does not exist."""
logger.info(f"_get_or_create_contact() -> Fetching contact info") logger.info("_get_or_create_contact() -> Fetching contact info")
try: try:
return self._request_contact_info(contact) return self._request_contact_info(contact)
except RegistryError as e: except RegistryError as e: