From b3cd5ef3ba18fc9cd47befe41d21363a0a35aed8 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Fri, 21 Feb 2025 16:34:19 -0500 Subject: [PATCH] Show visible error when updater call fails (#5455) * Show visible error when updater call fails due to permissions issue Fixes #3696 * Update comment for consistency --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 051e5016a..453513f67 100644 --- a/src/main.ts +++ b/src/main.ts @@ -396,8 +396,8 @@ app.on('ready', () => { }, fifteenMinutes) autoUpdater.on('error', (error) => { - console.error('updater-error', error) - mainWindow?.webContents.send('updater-error', error) + console.error('update-error', error) + mainWindow?.webContents.send('update-error', error) }) autoUpdater.on('update-available', (info) => {