Skip to content

Commit

Permalink
server: Fix log messages on XSNService
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed Nov 11, 2018
1 parent 418f2fd commit fa82993
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/app/com/xsn/explorer/services/XSNService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class XSNServiceRPCImpl @Inject() (
case x => x
}
.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
}
Expand All @@ -193,7 +193,7 @@ class XSNServiceRPCImpl @Inject() (

val maybe = getResult[JsValue](response, errorCodeMapper)
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
}
Expand All @@ -210,7 +210,7 @@ class XSNServiceRPCImpl @Inject() (

val maybe = getResult[Blockhash](response, errorCodeMapper)
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
}
Expand Down

0 comments on commit fa82993

Please sign in to comment.