aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-08 02:45:43 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-08 02:45:43 +0800
commit59124eb6fd749cde1c021c69717d6f2c797428c7 (patch)
tree2c922953e4f5ebc2182e5de8ff8699985cdba98e
parenta54c26382e4e5d4e4fec543ac4e0ca90d0d91191 (diff)
downloadtangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar.gz
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar.bz2
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar.lz
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar.xz
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.tar.zst
tangerine-wallet-browser-59124eb6fd749cde1c021c69717d6f2c797428c7.zip
remove logging of the message and log the error
-rw-r--r--app/scripts/lib/pending-tx-watchers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/pending-tx-watchers.js b/app/scripts/lib/pending-tx-watchers.js
index 5b23cc67c..60d0a09ad 100644
--- a/app/scripts/lib/pending-tx-watchers.js
+++ b/app/scripts/lib/pending-tx-watchers.js
@@ -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
}