- 后端:增加异常日志的记录
This commit is contained in:
@@ -47,8 +47,16 @@ public class ExceptionUtil {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getMessage(Throwable th) {
|
||||
return ExceptionUtils.getMessage(th);
|
||||
}
|
||||
|
||||
public static String getRootCauseMessage(Throwable th) {
|
||||
return ExceptionUtils.getRootCauseMessage(th);
|
||||
}
|
||||
|
||||
public static String getStackTrace(Throwable th) {
|
||||
return ExceptionUtils.getStackTrace(th);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user