log error initializing main wallet

This commit is contained in:
woodser 2024-04-13 04:23:15 -04:00
parent ccf2757418
commit 9062bc9159

View file

@ -906,7 +906,13 @@ public class XmrWalletService {
}
private void maybeInitMainWallet(boolean sync) {
maybeInitMainWallet(sync, MAX_SYNC_ATTEMPTS);
try {
maybeInitMainWallet(sync, MAX_SYNC_ATTEMPTS);
} catch (Exception e) {
log.warn("Error initializing main wallet: " + e.getMessage());
e.printStackTrace();
throw e;
}
}
private void maybeInitMainWallet(boolean sync, int numAttempts) {