diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt index ada7e6b3..50e68ec9 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/ConstructorFinder.kt @@ -219,12 +219,12 @@ class ConstructorFinder( return@run }.onFailure { 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()) { onFailureMsg( - msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", + msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan", throwable = lastError, isAlwaysPrint = true ) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt index ab6e4caf..36728bf8 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/core/finder/MethodFinder.kt @@ -268,12 +268,12 @@ class MethodFinder( return@run }.onFailure { 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()) { onFailureMsg( - msg = "trying ${remedyPlans.size} times and all failure by RemedyPlan", + msg = "Trying ${remedyPlans.size} times and all failure by RemedyPlan", throwable = lastError, isAlwaysPrint = true )