mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
Merge pull request #4457 from BlueWallet/lnderror
FIX: iOS: If you create a lightning wallet and have a bad URL (enter …
This commit is contained in:
commit
9c5ee71789
1 changed files with 5 additions and 1 deletions
|
@ -211,7 +211,11 @@ const WalletsAdd = () => {
|
|||
} catch (Err) {
|
||||
setIsLoading(false);
|
||||
console.warn('lnd create failure', Err);
|
||||
return alert(Err);
|
||||
if (Err.message) {
|
||||
return alert(Err.message);
|
||||
} else {
|
||||
return alert(loc.wallets.add_lndhub_error);
|
||||
}
|
||||
// giving app, not adding anything
|
||||
}
|
||||
A(A.ENUM.CREATED_LIGHTNING_WALLET);
|
||||
|
|
Loading…
Add table
Reference in a new issue