This commit is contained in:
zandercymatics 2023-10-18 14:54:06 -06:00
parent f672d15b00
commit a10ddccd0e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 12 additions and 15 deletions

View file

@ -234,7 +234,8 @@ class EPPLibWrapper:
try:
# Initialize epplib
CLIENT = EPPLibWrapper()
#CLIENT = EPPLibWrapper()
CLIENT = None
logger.info("registry client initialized")
except Exception:
CLIENT = None # type: ignore

View file

@ -16,20 +16,16 @@ from registrar.utility.errors import (
NameserverError,
NameserverErrorCodes as nsErrorCodes,
)
try:
from epplibwrapper import (
CLIENT as registry,
commands,
common as epp,
extensions,
info as eppInfo,
RegistryError,
ErrorCode,
)
except Exception as err:
print(f"err is {err}")
pass
from epplibwrapper import (
CLIENT as registry,
commands,
common as epp,
extensions,
info as eppInfo,
RegistryError,
ErrorCode,
)
from registrar.models.utility.contact_error import ContactError, ContactErrorCodes