优化异常提示

This commit is contained in:
yulichang 2023-04-04 16:22:18 +08:00
parent 7c6173d3d2
commit 6fa3db2df4

View File

@ -377,11 +377,18 @@ public class MPJInterceptor implements Interceptor {
@Override
public Object plugin(Object target) {
return Plugin.wrap(target, this);
try {
return Interceptor.super.plugin(target);
} catch (Exception e) {
return Plugin.wrap(target, this);
}
}
@Override
public void setProperties(Properties properties) {
// NOP
try {
Interceptor.super.setProperties(properties);
} catch (Exception ignored) {
}
}
}