mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
Update domain.py
This commit is contained in:
parent
c447eb407f
commit
b2f8753a98
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue