🐛 修复 macOS 端构建报错

This commit is contained in:
Liang Ding 2022-07-18 10:50:11 +08:00
parent 313181ef48
commit c585ca972f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 6 additions and 9 deletions

View file

@ -78,10 +78,7 @@ func NewCommand(cmdStr string, cmdId float64, param map[string]interface{}, sess
func Exec(cmd Cmd) {
go func() {
//start := time.Now()
defer logging.Recover()
cmd.Exec()
//end := time.Now()
//util.Logger.Infof("cmd [%s] exec consumed [%d]ms", cmd.Name(), end.Sub(start).Milliseconds())
}()
}