mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-22 15:04:47 +00:00
log error messages from asp-net process
This commit is contained in:
@@ -296,6 +296,10 @@ function startAspCoreBackend(electronPort) {
|
||||
apiProcess.stdout.on('data', (data) => {
|
||||
console.log(`stdout: ${data.toString()}`);
|
||||
});
|
||||
|
||||
apiProcess.stderr.on('data', (data) => {
|
||||
console.log(`stderr: ${data.toString()}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -323,6 +327,10 @@ function startAspCoreBackendWithWatch(electronPort) {
|
||||
apiProcess.stdout.on('data', (data) => {
|
||||
console.log(`stdout: ${data.toString()}`);
|
||||
});
|
||||
|
||||
apiProcess.stderr.on('data', (data) => {
|
||||
console.log(`stderr: ${data.toString()}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user