|
@ -176,7 +176,7 @@ class XSNServiceRPCImpl @Inject() ( |
|
|
case x => x |
|
|
case x => x |
|
|
} |
|
|
} |
|
|
.getOrElse { |
|
|
.getOrElse { |
|
|
logger.warn(s"Unexpected response from XSN Server, txid = ${blockhash.string}, status = ${response.status}, response = ${response.body}") |
|
|
logger.warn(s"Unexpected response from XSN Server, blockhash = ${blockhash.string}, status = ${response.status}, response = ${response.body}") |
|
|
|
|
|
|
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
} |
|
|
} |
|
@ -193,7 +193,7 @@ class XSNServiceRPCImpl @Inject() ( |
|
|
|
|
|
|
|
|
val maybe = getResult[JsValue](response, errorCodeMapper) |
|
|
val maybe = getResult[JsValue](response, errorCodeMapper) |
|
|
maybe.getOrElse { |
|
|
maybe.getOrElse { |
|
|
logger.warn(s"Unexpected response from XSN Server, txid = ${blockhash.string}, status = ${response.status}, response = ${response.body}") |
|
|
logger.warn(s"Unexpected response from XSN Server, blockhash = ${blockhash.string}, status = ${response.status}, response = ${response.body}") |
|
|
|
|
|
|
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
} |
|
|
} |
|
@ -210,7 +210,7 @@ class XSNServiceRPCImpl @Inject() ( |
|
|
|
|
|
|
|
|
val maybe = getResult[Blockhash](response, errorCodeMapper) |
|
|
val maybe = getResult[Blockhash](response, errorCodeMapper) |
|
|
maybe.getOrElse { |
|
|
maybe.getOrElse { |
|
|
logger.warn(s"Unexpected response from XSN Server, txid = ${height.int}, status = ${response.status}, response = ${response.body}") |
|
|
logger.warn(s"Unexpected response from XSN Server, blockhash = ${height.int}, status = ${response.status}, response = ${response.body}") |
|
|
|
|
|
|
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
Bad(XSNUnexpectedResponseError).accumulating |
|
|
} |
|
|
} |
|
|