Skip to content

Commit

Permalink
Remove log of throwable in XC_MethodReplacement.java (#111)
Browse files Browse the repository at this point in the history
Developers can get the throwable using the [XC_MethodHook.MethodHookParam API](https://api.xposed.info/reference/de/robv/android/xposed/XC_MethodHook.MethodHookParam.html).
Logging such throwable will leave unintended trace to the log buffer of the hooked application.

Note: this line of adding log was added in commit 7b638a7
  • Loading branch information
RichardLuo0 authored Dec 3, 2024
1 parent dd08eb3 commit e207085
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ protected final void beforeHookedMethod(MethodHookParam param) throws Throwable
Object result = replaceHookedMethod(param);
param.setResult(result);
} catch (Throwable t) {
XposedBridge.log(t);
param.setThrowable(t);
}
}
Expand Down

0 comments on commit e207085

Please sign in to comment.