Skip to content

Commit 7e356a0

Browse files
committed
improve preference generation
1 parent 08f29f6 commit 7e356a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

IntelPresentMon/AppCef/ipm-ui-vue/src/stores/preferences.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ export const usePreferencesStore = defineStore('preferences', () => {
159159
await hotkeys.bindDefaults();
160160
resetPreferences();
161161
preferences.value.selectedPreset = Preset.Slot1;
162-
console.warn('Preferences reset due to load failure: ' + e)
163-
notes.notify({ text: `Preferences reset due to load failure: ${e}` })
162+
serialize();
163+
console.info('Preferences reset due to load failure: ' + e);
164164
}
165165
}
166166

IntelPresentMon/AppCef/source/util/async/LoadFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace p2c::client::util::async
2929
}
3030
else {
3131
auto s = std::format("Unable to open file path: {}", filePath.string());
32-
pmlog_error(s);
32+
pmlog_warn(s);
3333
throw std::runtime_error{ s };
3434
}
3535
}

0 commit comments

Comments
 (0)