From fa829936e4fc7b2fc8a7889fe8378e419ae3879c Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 11 Nov 2018 11:18:29 -0700 Subject: [PATCH] server: Fix log messages on XSNService --- server/app/com/xsn/explorer/services/XSNService.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/app/com/xsn/explorer/services/XSNService.scala b/server/app/com/xsn/explorer/services/XSNService.scala index 624b055..068e95a 100644 --- a/server/app/com/xsn/explorer/services/XSNService.scala +++ b/server/app/com/xsn/explorer/services/XSNService.scala @@ -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 } @@ -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 } @@ -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 }