From cf2473b92c89cb9458782995043740933845a466 Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Tue, 31 Jan 2023 21:15:20 +0800 Subject: [PATCH] Modify make null exception and throwable message to empty string in Throwable.throwToApp function in HookParam --- .../kotlin/com/highcapable/yukihookapi/hook/param/HookParam.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/param/HookParam.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/param/HookParam.kt index 3110474e..26f6fcf0 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/param/HookParam.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/hook/param/HookParam.kt @@ -170,7 +170,7 @@ class HookParam internal constructor( */ fun Throwable.throwToApp() { param?.throwable = this - yLoggerE(msg = message ?: "$this", e = this) + yLoggerE(msg = message ?: "", e = this) } /**