mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 02:05:50 +00:00
Catch all exceptions in PirateLightClient
This commit is contained in:
parent
761d461bad
commit
32213b1236
@ -591,7 +591,7 @@ public class PirateLightClient extends BitcoinyBlockchainProvider {
|
||||
LOGGER.debug(() -> String.format("Connected to %s", server));
|
||||
this.currentServer = server;
|
||||
return true;
|
||||
} catch (RuntimeException e) {
|
||||
} catch (Exception e) {
|
||||
// Didn't work, try another server...
|
||||
closeServer();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user