Merge code

This commit is contained in:
2022-04-08 01:21:26 +08:00
parent 84d91e88ae
commit 0f724d7d2b
2 changed files with 4 additions and 4 deletions

View File

@@ -219,12 +219,12 @@ class ConstructorFinder(
return@run return@run
}.onFailure { }.onFailure {
lastError = it lastError = it
onFailureMsg(msg = "trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) onFailureMsg(msg = "Trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true)
} }
} }
if (isFindSuccess.not()) { if (isFindSuccess.not()) {
onFailureMsg( onFailureMsg(
msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan",
throwable = lastError, throwable = lastError,
isAlwaysPrint = true isAlwaysPrint = true
) )

View File

@@ -268,12 +268,12 @@ class MethodFinder(
return@run return@run
}.onFailure { }.onFailure {
lastError = it lastError = it
onFailureMsg(msg = "trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true) onFailureMsg(msg = "Trying ${p + 1} times by RemedyPlan --> $it", isAlwaysPrint = true)
} }
} }
if (isFindSuccess.not()) { if (isFindSuccess.not()) {
onFailureMsg( onFailureMsg(
msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan",
throwable = lastError, throwable = lastError,
isAlwaysPrint = true isAlwaysPrint = true
) )