mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
chore: add log for action log file
This commit is contained in:
@@ -1 +1 @@
|
||||
v4.3.7.2311231600
|
||||
v4.3.7.2311301111
|
||||
@@ -456,6 +456,7 @@ func (ad *adbDriver) StopCaptureLog() (result interface{}, err error) {
|
||||
pointRes := ConvertPoints(content)
|
||||
// 没有解析到打点日志,走兜底逻辑
|
||||
if len(pointRes) == 0 {
|
||||
log.Info().Msg("action log is null, use action file >>>")
|
||||
logFilePathPrefix := fmt.Sprintf("%v/data", env.ActionLogFilePath)
|
||||
files := []string{}
|
||||
myexec.RunCommand("adb", "pull", env.DeviceActionLogFilePath, env.ActionLogFilePath)
|
||||
|
||||
Reference in New Issue
Block a user