This commit is contained in:
commit
15e1d6e441
2 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ export function initialize({
|
||||||
sql: MainSQL;
|
sql: MainSQL;
|
||||||
}): void {
|
}): void {
|
||||||
if (initialized) {
|
if (initialized) {
|
||||||
throw new Error('initialze: Already initialized!');
|
throw new Error('initialize: Already initialized!');
|
||||||
}
|
}
|
||||||
initialized = true;
|
initialized = true;
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,7 @@ if (OS.isWindows()) {
|
||||||
sendDummyKeystroke = windowsNotifications.sendDummyKeystroke;
|
sendDummyKeystroke = windowsNotifications.sendDummyKeystroke;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
getLogger().error(
|
getLogger().error(
|
||||||
'Failed to initalize Windows Notifications:',
|
'Failed to initialize Windows Notifications:',
|
||||||
error.stack
|
error.stack
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue