mirror of
https://github.com/zhigang1992/liquid-stacking.git
synced 2026-01-12 22:48:34 +08:00
6 lines
158 B
JavaScript
6 lines
158 B
JavaScript
import { setUncaughtExceptionCaptureCallback } from 'node:process';
|
|
setUncaughtExceptionCaptureCallback(err => {
|
|
console.error(err);
|
|
process.exit(1);
|
|
});
|