diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2017-11-28 08:21:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 08:21:25 +0800 |
commit | 725277dbdbdeadc53a8fafad126f07a267112105 (patch) | |
tree | 03014e7f335aefa139e50f04ebea36a57aaeec47 /app | |
parent | e71115735c9b9d34fe85bc9e644f3b910bdaa014 (diff) | |
parent | 634102df6331161c21593c0f8cab91a2093209e1 (diff) | |
download | tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar.gz tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar.bz2 tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar.lz tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar.xz tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.tar.zst tangerine-wallet-browser-725277dbdbdeadc53a8fafad126f07a267112105.zip |
Merge pull request #2441 from MetaMask/kumavis-patch-3
NetworkController - add warning when aborting lookupNetwork
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/network.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 23afdc12b..045bfcc5d 100644 --- a/app/scripts/controllers/network.js +++ b/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 + return log.warn('NetworkController - lookupNetwork aborted due to missing ethQuery') } this.ethQuery.sendAsync({ method: 'net_version' }, (err, network) => { if (err) return this.setNetworkState('loading') |