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