mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix typo, switch to log.error
This commit is contained in:
parent
0ee8ca178e
commit
21769a008c
@ -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…
Reference in New Issue
Block a user