mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-03 20:31:26 +03:00
More electron error logging
This commit is contained in:
@@ -53,8 +53,9 @@ function loadPage() {
|
||||
}
|
||||
|
||||
function createWindow() {
|
||||
elogger.info('Spawning server.')
|
||||
serverProcess = spawn('node', [path.join(__dirname, 'app.js')]);
|
||||
|
||||
elogger.info('Done spawning!')
|
||||
createMainWindow();
|
||||
createSplashWindow();
|
||||
|
||||
@@ -80,6 +81,7 @@ function createWindow() {
|
||||
|
||||
process.on('uncaughtException', (error) => {
|
||||
console.error('Uncaught exception:', error);
|
||||
elogger.error(error);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user