mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-07 23:41:22 +08:00
change: error logs for getting window size
This commit is contained in:
@@ -77,7 +77,7 @@ func (ad *adbDriver) getWindowSize() (size Size, err error) {
|
||||
// adb shell wm size
|
||||
output, err := ad.adbClient.RunShellCommand("wm", "size")
|
||||
if err != nil {
|
||||
return size, errors.Wrap(err, "get window size failed with adb")
|
||||
return size, errors.Wrap(err, "get window size failed by adb shell")
|
||||
}
|
||||
|
||||
// output may contain both Physical and Override size, use Override if existed
|
||||
|
||||
Reference in New Issue
Block a user