Skip to content

Commit caf6bec

Browse files
committed
Update AutoConfig.js
1 parent 62a4cce commit caf6bec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AutoConfig.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ export default class AutoConfig {
66
static run = () => {
77
const cachedConfig = loadFromGleapCache("config");
88
if (cachedConfig) {
9-
console.log(cachedConfig);
109
AutoConfig.applyConfig(cachedConfig);
11-
console.log("Loaded config from cache.");
1210
AutoConfig.loadConfigFromServer(false);
1311
return Promise.resolve();
1412
}
@@ -51,8 +49,8 @@ export default class AutoConfig {
5149
};
5250

5351
static applyConfig(config) {
54-
console.log("Loaded" + config);
5552
try {
53+
console.log(config);
5654
const flowConfig = config.flowConfig;
5755
const projectActions = config.projectActions;
5856

@@ -229,6 +227,8 @@ export default class AutoConfig {
229227
if (flowConfig.buttonLogo && flowConfig.buttonLogo.length > 0) {
230228
Gleap.setButtonLogoUrl(flowConfig.buttonLogo);
231229
}
232-
} catch (e) {}
230+
} catch (e) {
231+
console.log(e);
232+
}
233233
}
234234
}

0 commit comments

Comments
 (0)