Merge pull request #89 from w3nder/develop

Update error.config.ts
This commit is contained in:
Davidson Gomes
2023-08-30 13:25:22 -03:00
committed by GitHub

View File

@@ -8,6 +8,7 @@ export function onUnexpectedError() {
stderr: process.stderr.fd,
error,
});
process.exit(1);
});
process.on('unhandledRejection', (error, origin) => {
@@ -17,5 +18,6 @@ export function onUnexpectedError() {
stderr: process.stderr.fd,
error,
});
process.exit(1);
});
}