From d295220c4df04c59fa8bbf6214b7f4e6d60e170b Mon Sep 17 00:00:00 2001 From: Mustafa Uzun Date: Fri, 18 Aug 2023 14:17:38 +0300 Subject: [PATCH] fix: initialize typo --- app/attachment_channel.ts | 2 +- app/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/attachment_channel.ts b/app/attachment_channel.ts index 9d6c0e0065..6b831d43f3 100644 --- a/app/attachment_channel.ts +++ b/app/attachment_channel.ts @@ -189,7 +189,7 @@ export function initialize({ sql: MainSQL; }): void { if (initialized) { - throw new Error('initialze: Already initialized!'); + throw new Error('initialize: Already initialized!'); } initialized = true; diff --git a/app/main.ts b/app/main.ts index b6925ca237..e7febdd547 100644 --- a/app/main.ts +++ b/app/main.ts @@ -216,7 +216,7 @@ if (OS.isWindows()) { sendDummyKeystroke = windowsNotifications.sendDummyKeystroke; } catch (error) { getLogger().error( - 'Failed to initalize Windows Notifications:', + 'Failed to initialize Windows Notifications:', error.stack ); }