20260608173128
This commit is contained in:
1 parent
930f03954a
commit
65685d1a6a
29 files changed
+289
-58
No files matched your search
+1
-7
@@ -15,13 +15,7 @@ public class GlobalExceptionHandler {
|
||||
public Result<ExceptionDetailInfo> handleException(Exception ex, HttpServletRequest request) {
|
||||
ExceptionDetailInfo info = ExceptionUtils.extractExceptionInfo(ex, request, "cn.g3soft");
|
||||
|
||||
log.error("异常发生在 {}#{}({}:{}),ID: {},信息: {}",
|
||||
info.getClassName(),
|
||||
info.getMethodName(),
|
||||
info.getFileName(),
|
||||
info.getLineNumber(),
|
||||
info.getId(),
|
||||
info.getSummary());
|
||||
log.error("系统异常: {}", info);
|
||||
|
||||
ex.printStackTrace();
|
||||
|
||||
|
||||
Reference in new issue
Block a user