diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-11 02:56:32 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-11 02:56:32 +0100 |
commit | ffe6dee6aa50c864cc9a36e816eb95f2f23719b1 (patch) | |
tree | dddcd8134d351241e5af8e016fa59848beace6d1 /extension/lib/wallet/wallet.ts | |
parent | 4f934925e017082606f2786e0bbf0d48281928d9 (diff) |
refactor code to be clearer/prettier
Diffstat (limited to 'extension/lib/wallet/wallet.ts')
-rw-r--r-- | extension/lib/wallet/wallet.ts | 6 |
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; }); }); |