mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-18 07:24:10 +02:00
lint
This commit is contained in:
parent
39f577c1b4
commit
681963343a
3 changed files with 5 additions and 4 deletions
|
@ -184,7 +184,9 @@ class EPPLibWrapper:
|
|||
message = f"{cmd_type} failed and will be retried"
|
||||
info_message = f"{message} Error: {err}"
|
||||
if err.response:
|
||||
info_message = f"{info_message}| cltrid is {err.response.cl_tr_id} svtrid is {err.response.sv_tr_id}"
|
||||
info_message = (
|
||||
f"{info_message}| cltrid is {err.response.cl_tr_id} svtrid is {err.response.sv_tr_id}"
|
||||
)
|
||||
logger.info(f"{info_message}")
|
||||
return self._retry(command)
|
||||
else:
|
||||
|
|
|
@ -69,7 +69,6 @@ class RegistryError(Exception):
|
|||
# note is a string that can be used to provide additional context
|
||||
self.note = note
|
||||
|
||||
|
||||
def should_retry(self):
|
||||
# COMMAND_USE_ERROR is returning with message, Registrar is not logged in,
|
||||
# which can be recovered from with a retry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue