fix: monero wallet opening generic error handling
This commit is contained in:
parent
ae1c9ba2fa
commit
6c0c0a41b8
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ function handleError (error, method) {
|
||||||
|
|
||||||
function openWallet () {
|
function openWallet () {
|
||||||
return fetch('open_wallet', { filename: 'Wallet' })
|
return fetch('open_wallet', { filename: 'Wallet' })
|
||||||
.catch(err => handleError(err, 'openWallet'))
|
.catch(() => openWalletWithPassword())
|
||||||
}
|
}
|
||||||
|
|
||||||
function openWalletWithPassword () {
|
function openWalletWithPassword () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue