mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-11-29 16:06:46 -05:00
print stack on request connection switch on testnet
This commit is contained in:
parent
bcb46605ff
commit
ad9e41fc5e
1 changed files with 7 additions and 0 deletions
|
|
@ -317,6 +317,13 @@ public final class XmrConnectionService {
|
|||
|
||||
public synchronized boolean requestSwitchToNextBestConnection(MoneroRpcConnection sourceConnection) {
|
||||
log.warn("Requesting switch to next best monerod, source monerod={}", sourceConnection == null ? getConnection() == null ? null : getConnection().getUri() : sourceConnection.getUri());
|
||||
if (Config.baseCurrencyNetwork() == BaseCurrencyNetwork.XMR_LOCAL) {
|
||||
try {
|
||||
throw new RuntimeException("Requesting connection switch on testnet");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
// skip if shut down started
|
||||
if (isShutDownStarted) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue