aboutsummaryrefslogtreecommitdiff
path: root/extension/lib/wallet/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-11 02:56:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-11 02:56:32 +0100
commitffe6dee6aa50c864cc9a36e816eb95f2f23719b1 (patch)
treedddcd8134d351241e5af8e016fa59848beace6d1 /extension/lib/wallet/wallet.ts
parent4f934925e017082606f2786e0bbf0d48281928d9 (diff)
refactor code to be clearer/prettier
Diffstat (limited to 'extension/lib/wallet/wallet.ts')
-rw-r--r--extension/lib/wallet/wallet.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/extension/lib/wallet/wallet.ts b/extension/lib/wallet/wallet.ts
index 46bae70a7..8dbcca044 100644
--- a/extension/lib/wallet/wallet.ts
+++ b/extension/lib/wallet/wallet.ts
@@ -462,8 +462,10 @@ export class Wallet {
.then((mint) =>
this.updateReserve(reservePub, mint)
.then((reserve) => this.depleteReserve(reserve,
- mint))
- );
+ mint)))
+ .catch((e) => {
+ console.error("Failed to deplete reserve", e.stack);
+ });
return resp;
});
});