do not unwind exception in http client

This commit is contained in:
a10zn8
2023-06-06 19:41:23 +04:00
parent 0f0a5c9425
commit e0ee8fa844

View File

@@ -131,7 +131,7 @@ class JsonRpcHttpClient(
return Function { resp -> return Function { resp ->
resp.flatMap { resp.flatMap {
if (it.hasError()) { if (it.hasError()) {
Mono.error(JsonRpcException(it.id, it.error!!)) Mono.error(JsonRpcException(it.id, it.error!!, false))
} else { } else {
Mono.just(it) Mono.just(it)
} }