From ff12ba3d0f0e89fb59f0410f57a390c5ac04e253 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 1 Jun 2022 12:53:52 -0400 Subject: [PATCH] Add log message before second attempt Signed-off-by: Sebastian Malton --- src/main/window-manager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/window-manager.ts b/src/main/window-manager.ts index c73542dc4f..73ceedd867 100644 --- a/src/main/window-manager.ts +++ b/src/main/window-manager.ts @@ -265,6 +265,7 @@ export class WindowManager extends Singleton { await this.splashWindow.loadFile(splashWindowFilePath); } catch (error) { if (String(error).includes("ERR_FAILED")) { + logger.warn("[WINDOW-MANAGER]: failed to load splash window on first attempt, trying again..."); // Try again, from reading some issues it seems that trying again immedeiately sometimes works await this.splashWindow.loadFile(splashWindowFilePath); } else {