1
0
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:
kumavis 2018-10-19 05:30:21 -04:00
parent 0b12c4efb1
commit 3e3d4b9dde

View File

@ -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 },
}) })
} }