diff options
author | Thomas <thomas.b.huang@gmail.com> | 2018-05-04 05:38:49 +0800 |
---|---|---|
committer | Thomas <thomas.b.huang@gmail.com> | 2018-05-04 05:38:49 +0800 |
commit | 025d8e798394fab215a3a41247d4ed2ecf865edd (patch) | |
tree | 5a245136f008d335314d772fab84c61038257d40 /app/scripts/background.js | |
parent | 1d353c002ddbb636c8291f7e26cf8d8309983e86 (diff) | |
parent | 23e1290e27c165e967a4a642980abc7c18d759b1 (diff) | |
download | tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.gz tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.bz2 tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.lz tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.xz tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.tar.zst tangerine-wallet-browser-025d8e798394fab215a3a41247d4ed2ecf865edd.zip |
Merge branch 'e2e-tests' of https://github.com/tmashuang/metamask-extension into e2e-tests
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 38b871bb5..69d549c85 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -261,7 +261,11 @@ function setupController (initState, initLangCode) { controller.txController.on(`tx:status-update`, (txId, status) => { if (status !== 'failed') return const txMeta = controller.txController.txStateManager.getTx(txId) - reportFailedTxToSentry({ raven, txMeta }) + try { + reportFailedTxToSentry({ raven, txMeta }) + } catch (e) { + console.error(e) + } }) // setup state persistence |