mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
notifications are not showing (#132)
This commit is contained in:
parent
05cde10299
commit
c823a7616b
@ -8,8 +8,6 @@
|
||||
//
|
||||
const electron = require('electron');
|
||||
const ipc = electron.ipcRenderer;
|
||||
const log = require('../log.js');
|
||||
const logLevels = require('../enums/logLevels.js');
|
||||
|
||||
function setStyle(config) {
|
||||
// Style it
|
||||
@ -55,8 +53,10 @@ function setContents(event, notificationObj) {
|
||||
audio.play()
|
||||
}
|
||||
} catch (e) {
|
||||
log.send(logLevels.ERROR, 'electron-notify: ERROR could not find sound file: '
|
||||
/* eslint-disable no-console */
|
||||
console.error('electron-notify: ERROR could not find sound file: '
|
||||
+ notificationObj.sound.replace('file://', ''), e, e.stack);
|
||||
/* eslint-enable no-console */
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user