We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec9586 commit af003c5Copy full SHA for af003c5
packages/core/src/configuration/SettingsManager.ts
@@ -61,7 +61,12 @@ export class SettingsManager {
61
this._isUpdatingSettings = true;
62
const response = await config.services.submissionClient.getSettings(version);
63
try {
64
- if (!config || !response || !response.success || !response.data) {
+ if (response.status === 304) {
65
+ log.trace("Settings are up-to-date");
66
+ return;
67
+ }
68
+
69
+ if (!response?.success || !response.data) {
70
log.warn(`${unableToUpdateMessage}: ${response.message}`);
71
return;
72
}
0 commit comments