After effects of enum change
This commit is contained in:
parent
16a6499c72
commit
b32e3a0c14
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ def use_ticket_orchestrator(
|
|||
###################################
|
||||
if not server_reply.valid:
|
||||
logger.info("Server's reply is invalid")
|
||||
if server_reply.error_type == ServerError.ALREADY_USED and server_reply.billing_code:
|
||||
if server_reply.error_type in (ServerError.ALREADY_USED, ResultError.ALREADY_USED) and server_reply.billing_code:
|
||||
logger.info("But it's because it's re-using a previously valid billing code. Continue..")
|
||||
else:
|
||||
logger.error("Returning a failure..")
|
||||
|
|
|
|||
Loading…
Reference in a new issue