diff --git a/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java b/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java index 03a42a7..447751f 100644 --- a/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java +++ b/platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java @@ -48,7 +48,8 @@ public class DalMethodInterceptor implements MethodInterceptor { } return object; } catch (Exception e) { - ExceptionUtils.catchException(e,e.getMessage()); + ExceptionUtils.catchException(e,"DalMethodInterceptor error."); + throw e; }finally{ long end = System.currentTimeMillis(); long i =(end - start); @@ -61,8 +62,8 @@ public class DalMethodInterceptor implements MethodInterceptor { }else{ logger.info(result); } + return null; } - return null; } /**