mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
Fix edge case on localhost
This commit is contained in:
parent
352a895d8d
commit
b663ac7b71
3 changed files with 7 additions and 2 deletions
|
@ -229,8 +229,9 @@ try:
|
|||
# Initialize epplib
|
||||
CLIENT = EPPLibWrapper()
|
||||
logger.info("registry client initialized")
|
||||
except Exception:
|
||||
except Exception as err:
|
||||
CLIENT = None # type: ignore
|
||||
logger.warning(
|
||||
"Unable to configure epplib. Registrar cannot contact registry.", exc_info=True
|
||||
)
|
||||
logger.warning(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue