1
0
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:
kumavis 2017-10-02 15:20:01 -07:00
parent a86f6d6d90
commit ed77304e73

View File

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