日志打印 错误详情
This commit is contained in:
@@ -118,6 +118,7 @@ public class CzgControllerAdvice {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setErrorLog(Exception ex) {
|
private void setErrorLog(Exception ex) {
|
||||||
|
log.error("错误",ex);
|
||||||
log.error(ex.getMessage());
|
log.error(ex.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user