Add a log message to an empty catch when re-trying database transactions in POMAnalyzerPlugin
@@ -205,6 +205,7 @@ public class POMAnalyzerPlugin extends Plugin {
}
});
} catch (Exception expected) {
+ logger.error("Database transaction failed due to {} and retried for {} times(s)", expected.getMessage(), transactionRestartCount);
}
transactionRestartCount++;
} while (restartTransaction && !processedRecord
