Skip to content

Commit

Permalink
Add SandHook beforeHookedMethod Throwable log output
Browse files Browse the repository at this point in the history
  • Loading branch information
MlgmXyysd committed Apr 5, 2020
1 parent ea00d06 commit c750915
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ public static Object hookBridge(Member origin, Method backup, XposedBridge.Addit
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;
Expand Down

0 comments on commit c750915

Please sign in to comment.