Commit 4c1d989047aa87c3e86fd7c41910d326f0cea8ab

Authored by jiangjiazhi
1 parent 4e1f3359dd

commit

Showing 1 changed file with 3 additions and 2 deletions

platform-common/src/main/java/com/lyms/platform/common/perf/DalMethodInterceptor.java View file @ 4c1d989
... ... @@ -48,7 +48,8 @@
48 48 }
49 49 return object;
50 50 } catch (Exception e) {
51   - ExceptionUtils.catchException(e,e.getMessage());
  51 + ExceptionUtils.catchException(e,"DalMethodInterceptor error.");
  52 + throw e;
52 53 }finally{
53 54 long end = System.currentTimeMillis();
54 55 long i =(end - start);
55 56  
... ... @@ -61,8 +62,8 @@
61 62 }else{
62 63 logger.info(result);
63 64 }
  65 + return null;
64 66 }
65   - return null;
66 67 }
67 68  
68 69 /**