formatted code, removed comments and cluttering debugs, updated error messages

This commit is contained in:
David Kennedy 2023-10-25 20:44:21 -04:00
parent 04168419e7
commit 62f3367c26
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
5 changed files with 15 additions and 40 deletions

View file

@ -83,7 +83,9 @@ class NameserverError(Exception):
"""
_error_mapping = {
NameserverErrorCodes.MISSING_IP: "Subdomains require an IP address",
NameserverErrorCodes.MISSING_IP: (
"Using your domain for a name server requires an IP address"
),
NameserverErrorCodes.GLUE_RECORD_NOT_ALLOWED: (
"Name server address does not match domain name"
),