mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
pending tx tracker - tx:warning event includes err obj
This commit is contained in:
parent
a86f6d6d90
commit
ed77304e73
@ -94,7 +94,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
|
||||
error: errorMessage,
|
||||
message: 'There was an error when resubmitting this transaction.',
|
||||
}
|
||||
this.emit('tx:warning', txMeta)
|
||||
this.emit('tx:warning', txMeta, err)
|
||||
}))
|
||||
}
|
||||
|
||||
@ -139,7 +139,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
|
||||
error: err,
|
||||
message: 'There was a problem loading this transaction.',
|
||||
}
|
||||
this.emit('tx:warning', txMeta)
|
||||
this.emit('tx:warning', txMeta, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user