fix(desktop): back off failed app loads and offer a retry (#2980)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-27 16:18:01 +02:00
1 parent 6a6119ed1e
commit 677ef8491e
41 files changed
+3012 -2367

No files matched your search

+5
View File
@@ -302,6 +302,11 @@ if (launchConfigurationError) {
.then(() => app.whenReady())
.then(async () => {
log.info('App ready, initializing...');
try {
runStartupPhase('host-resolver', () => app.configureHostResolver({enableAdditionalDnsQueryTypes: false}));
} catch (error) {
log.error('[Init] Failed to configure the host resolver:', error);
}
await runStartupPhaseAsync('launch-net-log', startLaunchNetLog);
try {
await runStartupPhaseAsync('desktop-debug-info', async () => {