diff options
Diffstat (limited to 'src/stores/FeaturesStore.js')
-rw-r--r-- | src/stores/FeaturesStore.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/stores/FeaturesStore.js b/src/stores/FeaturesStore.js index 1d50dd714..8e0134d7f 100644 --- a/src/stores/FeaturesStore.js +++ b/src/stores/FeaturesStore.js | |||
@@ -51,7 +51,9 @@ export default class FeaturesStore extends Store { | |||
51 | let requestResult = {}; | 51 | let requestResult = {}; |
52 | try { | 52 | try { |
53 | requestResult = this.featuresRequest.execute().result; | 53 | requestResult = this.featuresRequest.execute().result; |
54 | } catch (e) {} // eslint-disable-line no-empty | 54 | } catch (error) { |
55 | console.error(error); | ||
56 | } | ||
55 | Object.assign(features, requestResult); | 57 | Object.assign(features, requestResult); |
56 | } | 58 | } |
57 | runInAction('FeaturesStore::_updateFeatures', () => { | 59 | runInAction('FeaturesStore::_updateFeatures', () => { |
@@ -69,15 +71,15 @@ export default class FeaturesStore extends Store { | |||
69 | } | 71 | } |
70 | 72 | ||
71 | _setupFeatures() { | 73 | _setupFeatures() { |
72 | serviceProxy(this.stores, this.actions); | 74 | serviceProxy(this.stores); |
73 | basicAuth(this.stores, this.actions); | 75 | basicAuth(); |
74 | workspaces(this.stores, this.actions); | 76 | workspaces(this.stores, this.actions); |
75 | quickSwitch(this.stores, this.actions); | 77 | quickSwitch(); |
76 | nightlyBuilds(this.stores, this.actions); | 78 | nightlyBuilds(); |
77 | publishDebugInfo(this.stores, this.actions); | 79 | publishDebugInfo(); |
78 | settingsWS(this.stores, this.actions); | 80 | settingsWS(this.stores, this.actions); |
79 | communityRecipes(this.stores, this.actions); | 81 | communityRecipes(this.stores, this.actions); |
80 | todos(this.stores, this.actions); | 82 | todos(this.stores, this.actions); |
81 | appearance(this.stores, this.actions); | 83 | appearance(this.stores); |
82 | } | 84 | } |
83 | } | 85 | } |