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() } }