Merge pull request #1502 from httprunner/bugfix

fix: failed to record the android ui step type in the step result
This commit is contained in:
debugtalk
2022-10-23 17:37:35 +08:00
committed by GitHub
3 changed files with 20 additions and 17 deletions

View File

@@ -135,7 +135,7 @@ var errorsMap = map[error]int{
}
func IsErrorPredefined(err error) bool {
_, ok := errorsMap[err]
_, ok := errorsMap[errors.Cause(err)]
return ok
}