aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/scripts/background.js3
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,
})