Fix typo, switch to log.error

feature/default_network_editable
Kevin Serrano 8 years ago
parent 0ee8ca178e
commit 21769a008c
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
  1. 6
      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.'))
}

Loading…
Cancel
Save