log -> error, remove unnecesary logs

This commit is contained in:
Kendall Garner 2025-06-26 21:17:59 -07:00
parent fb584b35a9
commit 63e3b97bca
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
10 changed files with 9 additions and 12 deletions

View file

@ -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 || {});
}

View file

@ -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);
}
});

View file

@ -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')) {