fix: logs

This commit is contained in:
debugtalk
2022-10-23 16:41:23 +08:00
parent 3848c486be
commit be8d8b5c5d
6 changed files with 29 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ var (
// android device related: [60, 70)
var (
AndroidDeviceConnectionError = errors.New("android device connection error") // 60
AndroidDeviceDriverError = errors.New("android device driver error") // 61
AndroidDeviceUSBDriverError = errors.New("android device USB driver error") // 61
AndroidScreenShotError = errors.New("android screenshot error") // 65
AndroidCaptureLogError = errors.New("android capture log error") // 66
)
@@ -118,7 +118,7 @@ var errorsMap = map[error]int{
// android related
AndroidDeviceConnectionError: 60,
AndroidDeviceDriverError: 61,
AndroidDeviceUSBDriverError: 61,
AndroidScreenShotError: 65,
AndroidCaptureLogError: 66,