fix: clear hook throwable
This commit is contained in:
@@ -50,6 +50,10 @@ class HookAdapter(
|
||||
methodHookParam.throwable = throwable
|
||||
}
|
||||
|
||||
fun clearThrowable() {
|
||||
methodHookParam.throwable = null
|
||||
}
|
||||
|
||||
fun throwable(): Throwable? {
|
||||
return methodHookParam.throwable
|
||||
}
|
||||
@@ -73,4 +77,4 @@ class HookAdapter(
|
||||
errorCallback.accept(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user