修改环境变量使用
This commit is contained in:
@@ -30,6 +30,7 @@ export function preload() {
|
||||
|
||||
// 捕获普通异常
|
||||
process.on('uncaughtException', function (err) {
|
||||
console.log(err)
|
||||
console.error(pinus.app.getServerId(), 'uncaughtException Caught exception: ', err);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user