Throwable and Error should not be caught

This commit is contained in:
fuqingji
2022-03-17 09:12:19 +08:00
parent a7fe84d251
commit 57ada2621d

View File

@ -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 {