Throwable and Error should not be caught
This commit is contained in:
@ -73,7 +73,7 @@ public class OperLogAspect {
|
|||||||
boolean success = true;
|
boolean success = true;
|
||||||
try {
|
try {
|
||||||
return joinPoint.proceed();
|
return joinPoint.proceed();
|
||||||
} catch (Throwable e) {
|
} catch (Exception e) {
|
||||||
success = false;
|
success = false;
|
||||||
throw e;
|
throw e;
|
||||||
} finally {
|
} finally {
|
||||||
|
Reference in New Issue
Block a user