From 7da433285b6852e5a0ea1d818e711b776a1be229 Mon Sep 17 00:00:00 2001 From: "huangbin.beal" Date: Thu, 30 Nov 2023 11:12:18 +0800 Subject: [PATCH] chore: add log for action log file --- hrp/internal/version/VERSION | 2 +- hrp/pkg/uixt/android_adb_driver.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index 7f16698d..c776583b 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v4.3.7.2311231600 \ No newline at end of file +v4.3.7.2311301111 \ No newline at end of file diff --git a/hrp/pkg/uixt/android_adb_driver.go b/hrp/pkg/uixt/android_adb_driver.go index 2fc80a57..c20ce648 100644 --- a/hrp/pkg/uixt/android_adb_driver.go +++ b/hrp/pkg/uixt/android_adb_driver.go @@ -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)