chore: add log for action log file

This commit is contained in:
huangbin.beal
2023-11-30 11:12:18 +08:00
parent b41aa6fde6
commit 7da433285b
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1 @@
v4.3.7.2311231600
v4.3.7.2311301111

View File

@@ -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)