优化节点日志记录,可以记录和上报panic错误

This commit is contained in:
刘祥超
2021-10-14 10:28:32 +08:00
parent 538f18afb0
commit 3d9f40331d
3 changed files with 59 additions and 1 deletions

View File

@@ -184,6 +184,8 @@ func (this *AppCmd) runStart() {
return
}
_ = os.Setenv("EdgeBackground", "on")
cmd := exec.Command(os.Args[0])
err := cmd.Start()
if err != nil {