WANG 5 lat temu
rodzic
commit
1452e9f693

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

@@ -103,7 +103,7 @@ public class CustomExceptionHandler {
 		} else if (cause instanceof org.springframework.jdbc.CannotGetJdbcConnectionException
 				|| cause instanceof org.springframework.orm.jpa.JpaSystemException
 				|| cause instanceof org.springframework.transaction.CannotCreateTransactionException) {
-			body = new StatusResponse("503", "limited");
+			body = new StatusResponse("503", "limited. JDBC");
 		} else {
 			body = new StatusResponse(AppSelfHolder.get().getAppCode() + "-500", "系统异常");
 			cause = e;