use uncaughtExceptionMonitor instead uncaughtException
This commit is contained in:
parent
20370e5e75
commit
0a56ce92ca
5 changed files with 8 additions and 8 deletions
|
|
@ -100,7 +100,7 @@ async function watchSrc() {
|
|||
process.on('SIGHUP', resolve);
|
||||
process.on('SIGINT', resolve);
|
||||
process.on('SIGTERM', resolve);
|
||||
process.on('uncaughtException', reject);
|
||||
process.on('uncaughtExceptionMonitor', reject);
|
||||
process.on('exit', resolve);
|
||||
}).finally(async () => {
|
||||
await context.dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue