From 6c0c0a41b8ef25c7a518a606419872f79d3688ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Tue, 19 Jul 2022 16:08:40 +0100 Subject: [PATCH] fix: monero wallet opening generic error handling --- lib/plugins/wallet/monerod/monerod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/wallet/monerod/monerod.js b/lib/plugins/wallet/monerod/monerod.js index 39d380e6..af43dde8 100644 --- a/lib/plugins/wallet/monerod/monerod.js +++ b/lib/plugins/wallet/monerod/monerod.js @@ -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 () {