Sfoglia il codice sorgente

修改移除信息

humuyu 3 anni fa
parent
commit
94b2067148

+ 1 - 1
eladmin-common/src/main/java/me/zhengjie/exception/handler/GlobalExceptionHandler.java

@@ -67,7 +67,7 @@ public class GlobalExceptionHandler {
 	@ExceptionHandler(Exception.class)
 	@ExceptionHandler(Exception.class)
 	public ResponseDTO<?> exceptionHandler(Exception e) {
 	public ResponseDTO<?> exceptionHandler(Exception e) {
 		log.error("error: {} Cause {} ", e.getMessage(), e.getCause());
 		log.error("error: {} Cause {} ", e.getMessage(), e.getCause());
-//		e.printStackTrace();
+		e.printStackTrace();
 		// http 请求方式错误
 		// http 请求方式错误
 		if (e instanceof HttpRequestMethodNotSupportedException) {
 		if (e instanceof HttpRequestMethodNotSupportedException) {
 			return ResponseDTO.error(ResultCode.REQUEST_METHOD_ERROR);
 			return ResponseDTO.error(ResultCode.REQUEST_METHOD_ERROR);