up log level

This commit is contained in:
matthewswspence 2024-12-05 14:21:02 -06:00
parent 8b473d5e18
commit 3dbafb5220
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
4 changed files with 5 additions and 4 deletions

View file

@ -1066,8 +1066,8 @@ class Domain(TimeStampedModel, DomainHelper):
if host.domain != self:
logger.error("Host %s in use by another domain: %s", host.name, host.domain)
raise RegistryError(
msg="Host in use by another domain: {}".format(host.domain),
code=ErrorCode.OBJECT_ASSOCIATION_PROHIBITS_OPERATION,
note=host.domain,
)
nameservers = [n[0] for n in self.nameservers]