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