aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-11-30 02:27:47 +0800
committerkumavis <aaron@kumavis.me>2017-11-30 02:27:47 +0800
commit327651e7fbed9fab2e243412bbf5437c97e1caa4 (patch)
treed39040d64de7b02e57096a2aa32e3d9b619c09af /app/scripts
parentf64bc3c01afa688ee4eb4ea681bca0d9a95f0300 (diff)
parent4d6bae774a22487f9861225e6fc00a73829a51ee (diff)
downloadtangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar.gz
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar.bz2
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar.lz
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar.xz
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.tar.zst
tangerine-wallet-browser-327651e7fbed9fab2e243412bbf5437c97e1caa4.zip
Merge branch 'master' of github.com:MetaMask/metamask-plugin into reload-fix
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/network.js2
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')