Skip to content

Commit b57abc0

Browse files
committed
refactor(main): organize main structure
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent b7d3d97 commit b57abc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/updater.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export default class AppUpdater {
122122
try {
123123
logInfo('app updater', 'Checking for updates on application launch');
124124
await autoUpdater.checkForUpdatesAndNotify();
125-
} catch (e) {
126-
logError('auto updater', 'Initial check failed', e as Error);
125+
} catch (err) {
126+
logError('auto updater', 'Initial check failed', err as Error);
127127
}
128128
}
129129

0 commit comments

Comments
 (0)