mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 05:03:21 +03:00
Prevent electron from crashing on error
This commit is contained in:
@@ -76,3 +76,7 @@ app.on('activate', () => {
|
|||||||
createWindow();
|
createWindow();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
process.on('uncaughtException', (error) => {
|
||||||
|
elogger.info(error.message);
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user