mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
pending tx tracker - on tx:warn append error message instead of error obj
This commit is contained in:
parent
25a80932a6
commit
062eaa6a82
@ -136,7 +136,7 @@ module.exports = class PendingTransactionTracker extends EventEmitter {
|
||||
}
|
||||
} catch (err) {
|
||||
txMeta.warning = {
|
||||
error: err,
|
||||
error: err.message,
|
||||
message: 'There was a problem loading this transaction.',
|
||||
}
|
||||
this.emit('tx:warning', txMeta, err)
|
||||
|
Loading…
Reference in New Issue
Block a user