try catch异常信息,像原始数据,精确到某一行代码报错

try {
} catch (Exception e) {
    
    String fullStackTrace = org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e);
 
}
String fullStackTrace = org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e);
log.error(fullStackTrace )

更多推荐