diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-02-28 02:15:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 02:15:18 +0800 |
commit | fe21f8a952bc515c1e3924df08f07283be4345db (patch) | |
tree | b2be244655ae6344f844ce70427613bef7e77a0a /app | |
parent | c789bf1842acc6603da0db680052962713d46ac1 (diff) | |
parent | 06838774fa0bfb0ddea4db049211f92781841ff5 (diff) | |
download | tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar.gz tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar.bz2 tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar.lz tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar.xz tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.tar.zst tangerine-wallet-browser-fe21f8a952bc515c1e3924df08f07283be4345db.zip |
Merge pull request #3281 from MetaMask/sentry-failed-tx-debatch
sentry - report failed tx with more specific message
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/background.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 71ada8405..476d073d1 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -86,7 +86,8 @@ function setupController (initState) { controller.txController.on(`tx:status-update`, (txId, status) => { if (status !== 'failed') return const txMeta = controller.txController.txStateManager.getTx(txId) - raven.captureMessage('Transaction Failed', { + const errorMessage = `Transaction Failed: ${txMeta.err.message}` + raven.captureMessage(errorMessage, { // "extra" key is required by Sentry extra: txMeta, }) |