forked from Qortal/qortal
Catch NoSuchMethodError in ElectrumX, and log it, just in case we ever reencounter a dependency issue.
This commit is contained in:
parent
e95249dc1b
commit
b17b28d9d6
@ -739,6 +739,10 @@ public class ElectrumX extends BitcoinyBlockchainProvider {
|
|||||||
} catch (IOException | NoSuchElementException e) {
|
} catch (IOException | NoSuchElementException e) {
|
||||||
// Unable to send, or receive -- try another server?
|
// Unable to send, or receive -- try another server?
|
||||||
return null;
|
return null;
|
||||||
|
} catch (NoSuchMethodError e) {
|
||||||
|
// Likely an SSL dependency issue - retries are unlikely to succeed
|
||||||
|
LOGGER.error("ElectrumX output stream error", e);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
long endTime = System.currentTimeMillis();
|
long endTime = System.currentTimeMillis();
|
||||||
|
Loading…
Reference in New Issue
Block a user