Resolve 5790 Prefix a unit test log for hibernate exception in HapiFhirHibernateJpaDialect (#5791)

* prefixed the log message with "Unit test: "

* resolved review comments
This commit is contained in:
TynerGjs 2024-03-20 13:36:21 -04:00 committed by Martha
parent c0931bc356
commit 168a813076

View File

@ -74,7 +74,7 @@ public class HapiFhirHibernateJpaDialect extends HibernateJpaDialect {
}
if (HapiSystemProperties.isUnitTestModeEnabled()) {
ourLog.error("Hibernate exception", theException);
ourLog.error("Unit test mode: Hibernate exception", theException);
}
if (theException instanceof ConstraintViolationException) {