Change generic connection error message, test for 13 nameservers on pageload

This commit is contained in:
Rachid Mrad 2023-10-30 18:52:23 -04:00
parent 3a1c64206f
commit 8b2ea986b1
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
5 changed files with 21 additions and 14 deletions

View file

@ -39,9 +39,11 @@ class GenericError(Exception):
"""
_error_mapping = {
GenericErrorCodes.CANNOT_CONTACT_REGISTRY: (
"Update failed. Cannot contact the registry."
),
GenericErrorCodes.CANNOT_CONTACT_REGISTRY: """
Were experiencing a system connection error. Please wait a few minutes
and try again. If you continue to receive this error after a few tries,
contact help@get.gov
""",
GenericErrorCodes.GENERIC_ERROR: ("Value entered was wrong."),
}