07-21 13:16:57.700 655 655 W C02C11/appspawn/APPSPAWN: [appspawn_service.c:139]com.hx.example with pid 37605 exit with code:1
07-21 13:16:57.524 37605 37605 E A03D00/com.hx.example/JSAPP: onRejection, name: Error 07-21 13:16:57.524 37605 37605 E A03D00/com.hx.example/JSAPP: onRejection, message: level config not found not matched to current user 07-21 13:16:57.524 37605 37605 E A03D00/com.hx.example/JSAPP: onRejection, stack: Cannot get SourceMap info, dump raw stack: 07-21 13:16:57.524 37605 37605 E A03D00/com.hx.example/JSAPP: at loadLevelConfig (phone|phone|1.0.0|src/main/ets/l2/v3/w3.ts:143:1)
尽量避免出现异常场景或者使用try-catch捕获并处理异常。
谨慎使用process.ProcessManager().exit()接口,如果入参非0会产生数据丢失或者异常情况。可以尝试使用terminateSelf或ApplicationContext.killAllProcesses代替。