problem: confusing logging
This commit is contained in:
@@ -42,7 +42,7 @@ open class DirectEthereumApi(
|
|||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
.doOnError { t ->
|
.doOnError { t ->
|
||||||
log.warn("Upstream error: ${t.message} for ${method}")
|
log.warn("Upstream error: [${t.message}] for ${method}")
|
||||||
}
|
}
|
||||||
.map {
|
.map {
|
||||||
val resp = ResponseJson<Any, Int>()
|
val resp = ResponseJson<Any, Int>()
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ class EthereumGrpcTransport(
|
|||||||
.map(asStatus)
|
.map(asStatus)
|
||||||
.doFinally {
|
.doFinally {
|
||||||
mapping.values.forEach { bi ->
|
mapping.values.forEach { bi ->
|
||||||
bi.onError(RpcException(-32603, "RPC response not received"))
|
bi.onError(RpcException(-32603, "RPC response not received for ${bi.call.method}"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.timeout(Duration.ofSeconds(15))
|
.timeout(Duration.ofSeconds(15))
|
||||||
|
|||||||
Reference in New Issue
Block a user