Skip to content

Commit

Permalink
Merge pull request #263 from jhipster/v6.10.5
Browse files Browse the repository at this point in the history
Support JHipster version V6.10.5
  • Loading branch information
sendilkumarn authored Nov 7, 2020
2 parents 08c80fa + de8d6d1 commit 67e14b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import org.springframework.beans.factory.annotation.Value
<%_ if (databaseType !== 'no' && databaseType !== 'cassandra') { _%>
import org.springframework.dao.ConcurrencyFailureException
<%_ } _%>
<%_ if (databaseType !== 'no') { _%>
import org.springframework.dao.DataAccessException
<%_ } _%>
import org.springframework.http.ResponseEntity
import org.springframework.http.converter.HttpMessageConversionException
<%_ if (reactive && databaseType === 'sql') { _%>
Expand Down Expand Up @@ -205,7 +207,9 @@ _%>
if (activeProfiles.contains(JHipsterConstants.SPRING_PROFILE_PRODUCTION)) {
detail = when (throwable) {
is HttpMessageConversionException -> "Unable to convert http message"
<%_ if (databaseType !== 'no') { _%>
is DataAccessException -> "Failure during data access"
<%_ } _%>
else -> {
if (containsPackageName(throwable.message)) {
"Unexpected runtime exception"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test
<%_ if (databaseType === 'neo4j') { _%>
import org.junit.jupiter.api.extension.ExtendWith
<%_ } _%>
<%_ if (cacheProvider === 'redis') { _%>
<%_ if (databaseType === 'neo4j' || cacheProvider === 'redis') { _%>
import org.junit.jupiter.api.extension.ExtendWith
<%_ } _%>

Expand Down

0 comments on commit 67e14b8

Please sign in to comment.