Skip to content

Commit

Permalink
restore error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceau committed Jan 20, 2024
1 parent 9824c46 commit 8d87686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const createWindow = async () => {
mainWindow.loadURL(resolveHtmlPath("index.html")).catch(log.error);

mainWindow.on("ready-to-show", () => {
Preconditions.checkExists(mainWindow);
Preconditions.checkExists(mainWindow, '"mainWindow" is not defined');

didFinishLoad = true;

Expand Down

0 comments on commit 8d87686

Please sign in to comment.