]> git.codecow.com Git - libnemo.git/commitdiff
Fix error message.
authorChris Duncan <chris@codecow.com>
Sat, 8 Aug 2026 09:22:29 +0000 (02:22 -0700)
committerChris Duncan <chris@codecow.com>
Sat, 8 Aug 2026 09:22:29 +0000 (02:22 -0700)
src/lib/wallet/update.ts

index 9ed6dfdbdb778c7eaf346c167dec7ea7dcf043cc..b06abd0b14a724b7a0fc3911f1b317a5be8f69f1 100644 (file)
@@ -27,6 +27,6 @@ export async function _update (wallet: Wallet, vault: Vault, password: unknown):
                        await Database.put({ [wallet.id]: record }, Wallet.DB_NAME)
                }
        } catch (err) {
-               throw new Error('Failed to unlock wallet', { cause: err })
+               throw new Error('Failed to update wallet password', { cause: err })
        }
 }