mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-25 22:20:56 +03:00
Prevent electron from crashing on error
This commit is contained in:
@@ -75,4 +75,8 @@ app.on('activate', () => {
|
||||
if (win === null) {
|
||||
createWindow();
|
||||
}
|
||||
});
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
elogger.info(error.message);
|
||||
});
|
||||
Reference in New Issue
Block a user