do not unwind exception in http client
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user