mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
sentry - failed txs - namespace txMeta for better readability
This commit is contained in:
parent
0b12c4efb1
commit
3e3d4b9dde
@ -11,6 +11,6 @@ function reportFailedTxToSentry ({ raven, txMeta }) {
|
|||||||
const errorMessage = 'Transaction Failed: ' + extractEthjsErrorMessage(txMeta.err.message)
|
const errorMessage = 'Transaction Failed: ' + extractEthjsErrorMessage(txMeta.err.message)
|
||||||
raven.captureMessage(errorMessage, {
|
raven.captureMessage(errorMessage, {
|
||||||
// "extra" key is required by Sentry
|
// "extra" key is required by Sentry
|
||||||
extra: txMeta,
|
extra: { txMeta },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user