Does try cache catch an exception in the code block in the aspect log
@Around("pointCutMethod()")
public Object doAround(ProceedingJoinPoint pjp) throws Throwable {
}
Because I added exception capture, neither restcontrolleradvice nor aspect log can capture exception information
try {
ret = (ResponseBase)pjp.proceed();
} catch (Exception e) {
log.info("{}",e);
}
Thank you for this old point, @gloomysun https://www.cnblogs.com/lullaby/p/10275954.html