diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 02:05:10 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 02:05:10 +0800 |
commit | 344b467d03efd3f6fb50f11f4a5b16673e0d8bfd (patch) | |
tree | b7554db3427e378a6107edd45eb93a78fdc24dfe /ui/app | |
parent | 79be956be9f5297d6d601941e50d5ae4eca58560 (diff) | |
parent | e3a7da961dd01bcb936a000cdf62e2290a5024ef (diff) | |
download | tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar.gz tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar.bz2 tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar.lz tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar.xz tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.tar.zst tangerine-wallet-browser-344b467d03efd3f6fb50f11f4a5b16673e0d8bfd.zip |
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/reducers.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/app/reducers.js b/ui/app/reducers.js index 6a2f44534..1cded7ca7 100644 --- a/ui/app/reducers.js +++ b/ui/app/reducers.js @@ -43,7 +43,12 @@ function rootReducer (state, action) { window.logState = function () { let state = window.METAMASK_CACHED_LOG_STATE - const version = global.platform.getVersion() + let version + try { + version = global.platform.getVersion() + } catch (e) { + version = 'unable to load version.' + } state.version = version let stateString = JSON.stringify(state, removeSeedWords, 2) return stateString |