1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Fix typo, switch to log.error

This commit is contained in:
Kevin Serrano 2017-03-08 09:35:31 -08:00
parent 0ee8ca178e
commit 21769a008c
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -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.'))
}