mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Use our logger instead of console 🤦
This commit is contained in:
parent
5fa9c2bf19
commit
0062f3e63e
|
@ -46,7 +46,7 @@ function findToastActivatorClsidInShorcut(shortcutPath: string) {
|
|||
|
||||
return shortcutDetails.toastActivatorClsid
|
||||
} catch (error) {
|
||||
console.error(
|
||||
log.error(
|
||||
`Error looking for toast activator CLSID in shortcut ${shortcutPath}`,
|
||||
error
|
||||
)
|
||||
|
|
|
@ -15,7 +15,7 @@ function initializeWindowsNotifications() {
|
|||
windowsToastActivatorClsid = findToastActivatorClsid()
|
||||
|
||||
if (windowsToastActivatorClsid === undefined) {
|
||||
console.error(
|
||||
log.error(
|
||||
'Toast activator CLSID not found in any of the shortucts. Falling back to known CLSIDs.'
|
||||
)
|
||||
|
||||
|
@ -24,7 +24,7 @@ function initializeWindowsNotifications() {
|
|||
windowsToastActivatorClsid = '{27D44D0C-A542-5B90-BCDB-AC3126048BA2}'
|
||||
}
|
||||
|
||||
console.log(`Using toast activator CLSID ${windowsToastActivatorClsid}`)
|
||||
log.info(`Using toast activator CLSID ${windowsToastActivatorClsid}`)
|
||||
initializeNotifications(windowsToastActivatorClsid)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue