mirror of
https://github.com/antebudimir/feishin.git
synced 2026-03-02 04:07:25 +00:00
log -> error, remove unnecesary logs
This commit is contained in:
parent
fb584b35a9
commit
63e3b97bca
10 changed files with 9 additions and 12 deletions
|
|
@ -105,7 +105,7 @@ const createMpv = async (data: {
|
|||
try {
|
||||
await mpv.start();
|
||||
} catch (error: any) {
|
||||
console.log('mpv failed to start', error);
|
||||
console.error('mpv failed to start', error);
|
||||
} finally {
|
||||
await mpv.setMultipleProperties(properties || {});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
|
|||
'xesam:userRating': song.userRating ? song.userRating / 5 : null,
|
||||
};
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export default class AppUpdater {
|
|||
protocol.registerSchemesAsPrivileged([{ privileges: { bypassCSP: true }, scheme: 'feishin' }]);
|
||||
|
||||
process.on('uncaughtException', (error: any) => {
|
||||
console.log('Error in main process', error);
|
||||
console.error('Error in main process', error);
|
||||
});
|
||||
|
||||
if (store.get('ignore_ssl')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue