mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-15 09:55:56 -04:00
show popup with message on error starting monero wallet
This commit is contained in:
parent
ea0ce9b449
commit
82b8f58579
2 changed files with 2 additions and 4 deletions
|
@ -1321,6 +1321,7 @@ public class XmrWalletService {
|
|||
} catch (Exception e) {
|
||||
log.warn("Error initializing main wallet: " + e.getMessage());
|
||||
e.printStackTrace();
|
||||
HavenoUtils.havenoSetup.getWalletServiceErrorMsg().set(e.getMessage());
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
@ -1592,7 +1593,7 @@ public class XmrWalletService {
|
|||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (walletRpc != null) forceCloseWallet(walletRpc, config.getPath());
|
||||
throw new IllegalStateException("Could not open wallet '" + config.getPath() + "'. Please close Haveno, stop all monero-wallet-rpc processes, and restart Haveno.");
|
||||
throw new IllegalStateException("Could not open wallet '" + config.getPath() + "'. Please close Haveno, stop all monero-wallet-rpc processes, and restart Haveno.\n\nError message: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue