problem: confusing logging
This commit is contained in:
@@ -42,7 +42,7 @@ open class DirectEthereumApi(
|
||||
}
|
||||
return result
|
||||
.doOnError { t ->
|
||||
log.warn("Upstream error: ${t.message} for ${method}")
|
||||
log.warn("Upstream error: [${t.message}] for ${method}")
|
||||
}
|
||||
.map {
|
||||
val resp = ResponseJson<Any, Int>()
|
||||
|
||||
@@ -124,7 +124,7 @@ class EthereumGrpcTransport(
|
||||
.map(asStatus)
|
||||
.doFinally {
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user