mirror of
https://github.com/zhigang1992/liquid-stacking.git
synced 2026-04-28 12:05:46 +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);
|
|
});
|