mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-27 04:01:24 +00:00
Catch NoSuchMethodError in ElectrumX, and log it, just in case we ever reencounter a dependency issue.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user