mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Attach the RPC error value to txMeta
This commit is contained in:
parent
fdb023381b
commit
7c3b69e1e4
@ -353,6 +353,7 @@ class TransactionStateManager extends EventEmitter {
|
||||
const txMeta = this.getTx(txId)
|
||||
txMeta.err = {
|
||||
message: err.toString(),
|
||||
rpc: err.value,
|
||||
stack: err.stack,
|
||||
}
|
||||
this.updateTx(txMeta)
|
||||
|
Loading…
Reference in New Issue
Block a user