fix: monero wallet opening generic error handling

This commit is contained in:
Sérgio Salgado 2022-07-19 16:08:40 +01:00
parent ae1c9ba2fa
commit 6c0c0a41b8

View file

@ -92,7 +92,7 @@ function handleError (error, method) {
function openWallet () {
return fetch('open_wallet', { filename: 'Wallet' })
.catch(err => handleError(err, 'openWallet'))
.catch(() => openWalletWithPassword())
}
function openWalletWithPassword () {