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