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

remove logging of the message and log the error

This commit is contained in:
frankiebee 2017-08-07 14:45:43 -04:00
parent a54c26382e
commit 59124eb6fd

View File

@ -103,7 +103,7 @@ module.exports = class PendingTransactionWatchers extends EventEmitter {
if (!sufficientBalance(txMeta.txParams, balance)) {
const insufficientFundsError = new Error('Insufficient balance during rebroadcast.')
this.emit('txFailed', txMeta.id, insufficientFundsError)
log.error(message)
log.error(insufficientFundsError)
return
}