mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
use uncaughtExceptionMonitor instead uncaughtException
This commit is contained in:
@@ -101,7 +101,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();
|
||||
|
||||
Reference in New Issue
Block a user