diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/bitcoin/EsploraClient.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/bitcoin/EsploraClient.kt index 3ecf533f..ef0c6df0 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/bitcoin/EsploraClient.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/bitcoin/EsploraClient.kt @@ -106,7 +106,7 @@ class EsploraClient( return response .response { header, bytes -> if (header.status().code() != 200) { - Mono.error(EsploraException("HTTP Code: ${header.status().code()} for ${header.fullPath()}")) + Mono.error(EsploraException("HTTP Code: ${header.status().code()} for ${url.scheme}://${url.host}${header.fullPath()}")) } else { bytes.aggregate().asByteArray() }