Add logging
This commit is contained in:
parent
899caa1913
commit
3e4522be86
|
@ -113,7 +113,9 @@ public class HapiTransactionService {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (maxRetries > 0) {
|
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;
|
throw e;
|
||||||
|
|
Loading…
Reference in New Issue