1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

pending tx tracker - on tx:warn append error message instead of error obj

This commit is contained in:
kumavis 2017-10-02 15:39:11 -07:00
parent 25a80932a6
commit 062eaa6a82

View File

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