network controller - warn via log.warn

feature/default_network_editable
kumavis 7 years ago committed by GitHub
parent b17a799de6
commit 634102df63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/scripts/controllers/network.js

@ -53,7 +53,7 @@ module.exports = class NetworkController extends EventEmitter {
lookupNetwork () {
// Prevent firing when provider is not defined.
if (!this.ethQuery || !this.ethQuery.sendAsync) {
return console.warn('NetworkController - lookupNetwork aborted due to missing ethQuery')
return log.warn('NetworkController - lookupNetwork aborted due to missing ethQuery')
}
this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => {
if (err) return this.setNetworkState('loading')

Loading…
Cancel
Save