From 3e0d40ff57e43c0a0457ead96a1e0791a72f70db Mon Sep 17 00:00:00 2001 From: KirillPamPam Date: Thu, 5 Sep 2024 15:08:44 +0400 Subject: [PATCH] Change log (#564) --- .../io/emeraldpay/dshackle/upstream/generic/GenericHead.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/generic/GenericHead.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/generic/GenericHead.kt index 9a66934ed..5ace3deab 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/generic/GenericHead.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/generic/GenericHead.kt @@ -46,7 +46,7 @@ open class GenericHead( .subscribeOn(headScheduler) .timeout(Defaults.timeout, Mono.error(Exception("Block data not received"))) .onErrorResume { err -> - log.error("Failed to fetch latest block: ${err.message} $upstreamId", err) + log.error("Failed to fetch the latest block of upstream {}, reason - {}", upstreamId, err.message) Mono.empty() } }