From ab27be7f817c761461d27871fcd2e7e7c62d2431 Mon Sep 17 00:00:00 2001 From: yulichang <570810310@qq.com> Date: Thu, 16 Nov 2023 20:29:41 +0800 Subject: [PATCH] fix https://github.com/yulichang/mybatis-plus-join/issues/92 --- .../java/com/github/yulichang/interceptor/MPJInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java index 696d21a..3d7bf01 100644 --- a/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java +++ b/mybatis-plus-join-core/src/main/java/com/github/yulichang/interceptor/MPJInterceptor.java @@ -427,7 +427,7 @@ public class MPJInterceptor implements Interceptor { public Object plugin(Object target) { try { return Interceptor.super.plugin(target); - } catch (Exception e) { + } catch (Throwable e) { return Plugin.wrap(target, this); } }