mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 21:09:36 +08:00
fix: do not fail case when kill logcat error
This commit is contained in:
@@ -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{}{}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user