mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-04-07 19:38:25 +02:00
log batch errors getting fee estimates from server
This commit is contained in:
parent
f4b9807285
commit
fe50cb845e
2
drongo
2
drongo
@ -1 +1 @@
|
||||
Subproject commit d3e003f76e15e2808a30107e040d519c84393bfa
|
||||
Subproject commit a8df17ff5eb906cf1d929f978fdad34bb244ce55
|
@ -4,6 +4,7 @@ import com.github.arteam.simplejsonrpc.client.JsonRpcClient;
|
||||
import com.github.arteam.simplejsonrpc.client.Transport;
|
||||
import com.github.arteam.simplejsonrpc.client.exception.JsonRpcBatchException;
|
||||
import com.github.arteam.simplejsonrpc.client.exception.JsonRpcException;
|
||||
import com.github.arteam.simplejsonrpc.core.domain.ErrorMessage;
|
||||
import com.sparrowwallet.drongo.protocol.Sha256Hash;
|
||||
import com.sparrowwallet.drongo.wallet.Wallet;
|
||||
import com.sparrowwallet.sparrow.EventManager;
|
||||
@ -227,7 +228,7 @@ public class BatchedElectrumServerRpc implements ElectrumServerRpc {
|
||||
try {
|
||||
return batchRequest.execute();
|
||||
} catch(JsonRpcBatchException e) {
|
||||
throw new ElectrumServerRpcException("Error getting fee estimates", e);
|
||||
throw new ElectrumServerRpcException("Error getting fee estimates: " + e.getErrors(), e);
|
||||
} catch(Exception e) {
|
||||
throw new ElectrumServerRpcException("Error getting fee estimates for target blocks: " + targetBlocks, e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user