From 7a9349ea32dbcc141233fcacbe984a2b86fe4729 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Sun, 16 Apr 2023 12:33:13 +0800 Subject: [PATCH] fix: MobileUIAppNotInForegroundError exit code --- hrp/internal/code/code.go | 5 +++-- hrp/internal/version/VERSION | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hrp/internal/code/code.go b/hrp/internal/code/code.go index 354ff302..3479c8b6 100644 --- a/hrp/internal/code/code.go +++ b/hrp/internal/code/code.go @@ -124,8 +124,9 @@ var errorsMap = map[error]int{ AndroidCaptureLogError: 66, // UI automation related - MobileUIDriverError: 70, - MobileUIValidationError: 75, + MobileUIDriverError: 70, + MobileUIValidationError: 75, + MobileUIAppNotInForegroundError: 76, // OCR related OCREnvMissedError: 80, diff --git a/hrp/internal/version/VERSION b/hrp/internal/version/VERSION index f907911d..ff51d667 100644 --- a/hrp/internal/version/VERSION +++ b/hrp/internal/version/VERSION @@ -1 +1 @@ -v4.3.3.2304142356 \ No newline at end of file +v4.3.3.2304161232 \ No newline at end of file