mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add log message before second attempt
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
7b8f013a2d
commit
ff12ba3d0f
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user