aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/network.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-12-08 01:46:28 +0800
committerGitHub <noreply@github.com>2017-12-08 01:46:28 +0800
commit845aec82b976b1676c504832f152d6d9142c11e1 (patch)
treef6306a17629d68e217488ab15af7ce5029c07335 /app/scripts/controllers/network.js
parentbd5ce9461e5119c13ab8be29db5cdfc57228bac8 (diff)
parent2e9137dddd4abd07cc45caa670f09bdc9559bbbb (diff)
downloadtangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.gz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.bz2
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.lz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.xz
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.zst
tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.zip
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI
Diffstat (limited to 'app/scripts/controllers/network.js')
-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')