Merge branch 'main' into dk/1123-epp-cache

This commit is contained in:
David Kennedy 2023-10-18 16:01:38 -04:00
commit 12cbe3fd19
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
7 changed files with 210 additions and 15 deletions

View file

@ -817,7 +817,7 @@ class Domain(TimeStampedModel, DomainHelper):
and errorCode != ErrorCode.COMMAND_COMPLETED_SUCCESSFULLY
):
# TODO- ticket #433 look here for error handling
raise Exception("Unable to add contact to registry")
raise RegistryError(code=errorCode)
# contact doesn't exist on the domain yet
logger.info("_set_singleton_contact()-> contact has been added to the registry")