Add logging

This commit is contained in:
jamesagnew 2021-06-04 20:40:40 -04:00
parent 899caa1913
commit 3e4522be86
1 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,9 @@ public class HapiTransactionService {
}
if (maxRetries > 0) {
ourLog.info("Max retries ({}) exceeded for version conflict", maxRetries);
String msg = "Max retries (" + maxRetries + ") exceeded for version conflict: " + e.getMessage();
ourLog.info(msg, maxRetries);
throw new ResourceVersionConflictException(msg);
}
throw e;