Skip to content

Commit

Permalink
feat: sending more exceptions on load wallet to sentry (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso authored Feb 15, 2024
1 parent 8a1f814 commit 35b7cec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sagas/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export function* startWallet(action) {
yield call(loadTokens);
} catch (e) {
console.error('Tokens load failed: ', e);
yield put(onExceptionCaptured(e, false));
yield put(startWalletFailed());
return;
}
Expand Down Expand Up @@ -657,6 +658,8 @@ export function* onWalletReloadData() {
// Finally, set the wallet to READY by dispatching startWalletSuccess
yield put(startWalletSuccess());
} catch (e) {
console.log('Wallet reload data failed: ', e);
yield put(onExceptionCaptured(e, false));
yield put(startWalletFailed());
}
}
Expand Down

0 comments on commit 35b7cec

Please sign in to comment.