fix: do not fail case when kill logcat error

This commit is contained in:
lilong.129
2023-02-13 23:37:54 +08:00
parent 4db263db15
commit 906edecd8e

View File

@@ -330,7 +330,7 @@ func (l *AdbLogcat) CatchLogcat() (err error) {
go func() {
<-l.stopping
if e := myexec.KillProcessesByGpid(l.cmd); e != nil {
l.errs = append(l.errs, fmt.Errorf("kill logcat process err:%v", e))
log.Error().Err(e).Msg("kill logcat process failed")
}
l.done <- struct{}{}
}()