Add SandHook beforeHookedMethod Throwable log output

This commit is contained in:
Jim Wu 2020-04-05 20:46:35 +08:00
parent ea00d06937
commit c7509151fb
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ public class HookStubManager {
try {
((XC_MethodHook) snapshot[beforeIdx]).callBeforeHookedMethod(param);
} catch (Throwable t) {
XposedBridge.log(t);
// reset result (ignoring what the unexpectedly exiting callback did)
param.setResult(null);
param.returnEarly = false;