From 21769a008ccc5fdc2ac5d23a37d401a1d2a20694 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Wed, 8 Mar 2017 09:35:31 -0800 Subject: [PATCH] Fix typo, switch to log.error --- ui/app/actions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/actions.js b/ui/app/actions.js index 82b6fac18..d4fd7553b 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -677,7 +677,7 @@ function setDefaultRpcTarget (rpcList) { return (dispatch) => { background.setDefaultRpc((err, result) => { if (err) { - console.error(err) + log.error(err) return dispatch(self.displayWarning('Had a problem changing networks.')) } }) @@ -689,7 +689,7 @@ function setRpcTarget (newRpc) { return (dispatch) => { background.setCustomRpc(newRpc, (err, result) => { if (err) { - console.err(err) + log.error(err) return dispatch(self.displayWarning('Had a problem changing networks!')) } }) @@ -768,7 +768,7 @@ function exportAccount (address) { dispatch(self.hideLoadingIndication()) if (err) { - console.error(err) + log.error(err) return dispatch(self.displayWarning('Had a problem exporting the account.')) }