WANG 5 سال پیش
والد
کامیت
f2a1035bf5
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/main/java/cn/com/qmth/examcloud/web/support/CustomExceptionHandler.java

+ 0 - 2
src/main/java/cn/com/qmth/examcloud/web/support/CustomExceptionHandler.java

@@ -224,7 +224,6 @@ public class CustomExceptionHandler {
 					|| t instanceof org.springframework.orm.jpa.JpaSystemException
 					|| t instanceof org.springframework.transaction.CannotCreateTransactionException) {
 				httpStatus = HttpStatus.SERVICE_UNAVAILABLE;
-				printStackTrace = false;
 			} else {
 				httpStatus = HttpStatus.OK;
 			}
@@ -234,7 +233,6 @@ public class CustomExceptionHandler {
 					|| t instanceof org.springframework.orm.jpa.JpaSystemException
 					|| t instanceof org.springframework.transaction.CannotCreateTransactionException) {
 				httpStatus = HttpStatus.SERVICE_UNAVAILABLE;
-				printStackTrace = false;
 			} else {
 				httpStatus = HttpStatus.INTERNAL_SERVER_ERROR;
 			}