Update domain.py

This commit is contained in:
zandercymatics 2023-10-03 14:28:27 -06:00
parent c447eb407f
commit b2f8753a98
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -805,7 +805,7 @@ class Domain(TimeStampedModel, DomainHelper):
cached_contact = self.get_contact_in_keys(contacts, contact_type_choice)
if cached_contact is None:
# TODO - #1103
raise ContactError(code=ContactErrorCodes.CONTACT_NOT_FOUND)
raise ContactError("No contact was found in cache or the registry")
return cached_contact