mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
feat: 新增日志
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2409252253
|
||||
v5.0.0-beta-2409262247
|
||||
|
||||
@@ -103,6 +103,7 @@ func (hd *hdcDriver) Unlock() (err error) {
|
||||
}
|
||||
re := regexp.MustCompile(`powerstatus=([\w_]+)`)
|
||||
match := re.FindStringSubmatch(screenInfo)
|
||||
log.Info().Msg("screen info: " + screenInfo)
|
||||
if len(match) <= 1 {
|
||||
return fmt.Errorf("failed to unlock; failed to find powerstatus")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user